diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-01-12 16:40:39 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-01-12 16:40:39 +0000 |
commit | a70b6e9dacbb2c5c57425df6ef30802115509645 (patch) | |
tree | a7420f5a4b8b7d85f05782c93a1ad64eecf37a02 /templates/editbookmark.tpl.php | |
parent | 78b493f41c9490d3ef1c8c9f57c486ad40f9d152 (diff) | |
download | semanticscuttle-a70b6e9dacbb2c5c57425df6ef30802115509645.tar.gz semanticscuttle-a70b6e9dacbb2c5c57425df6ef30802115509645.tar.bz2 |
New Feature: adding private note to describe a bookmark. Just visible by the author and friends. (Useful for collaborative work)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@231 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/editbookmark.tpl.php')
-rw-r--r-- | templates/editbookmark.tpl.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php index ab0e861..b3514f3 100644 --- a/templates/editbookmark.tpl.php +++ b/templates/editbookmark.tpl.php @@ -40,7 +40,10 @@ $this->includeTemplate("dojo.inc"); <td>← <?php echo T_('Required'); ?></td> </tr> <tr> - <th align="left"><?php echo T_('Description'); ?></th> + <th align="left"> + <?php echo T_('Description'); ?> + <a onclick="var nz = document.getElementById('privateNoteZone'); nz.style.display='';this.style.display='none';"><?php echo T_("Add Note"); ?></a> + </th> <td><textarea name="description" id="description" rows="5" cols="63" ><?php echo filter($row['bDescription'], 'xml'); ?></textarea></td> <td>← <?php echo T_('You can use anchors to delimite attributes. for example: [publisher]blah[/publisher] '); ?> <?php if(count($GLOBALS['descriptionAnchors'])>0): ?> @@ -56,6 +59,12 @@ $this->includeTemplate("dojo.inc"); <?php endif; ?> </td> </tr> +<tr id="privateNoteZone" <?php if(strlen($row['bPrivateNote'])==0):?>style="display:none"<?php endif; ?>> + <th align="left"><?php echo T_('Private Note'); ?></th> + <td><textarea name="privateNote" id="privateNote" rows="1" cols="63" ><?php echo filter($row['bPrivateNote'], 'xml'); ?></textarea></td> + <td>← <?php echo T_('Just visible by you and your friends.'); ?> + </td> +</tr> <tr> <th align="left"><?php echo T_('Tags'); ?></th> <td class="scuttletheme"> |