diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-25 16:58:56 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-25 16:58:56 +0000 |
commit | df984f26669e0e3bfd6ede23e5bddfae8fd695ea (patch) | |
tree | fb0203cf452b3ac07db1d2c6c4a47e7380fb51f1 /templates | |
parent | 111bcdec7568269e88108ace560c35d333f9df1c (diff) | |
download | semanticscuttle-df984f26669e0e3bfd6ede23e5bddfae8fd695ea.tar.gz semanticscuttle-df984f26669e0e3bfd6ede23e5bddfae8fd695ea.tar.bz2 |
Interface fix: add an hyperlink from bookmark edition page to collaborative edition of the same bookmark
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@175 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r-- | templates/bookmarkcommondescriptionedit.tpl.php | 2 | ||||
-rw-r--r-- | templates/bookmarks.tpl.php | 4 | ||||
-rw-r--r-- | templates/editbookmark.tpl.php | 5 |
3 files changed, 6 insertions, 5 deletions
diff --git a/templates/bookmarkcommondescriptionedit.tpl.php b/templates/bookmarkcommondescriptionedit.tpl.php index 053ee30..ac3f540 100644 --- a/templates/bookmarkcommondescriptionedit.tpl.php +++ b/templates/bookmarkcommondescriptionedit.tpl.php @@ -15,7 +15,7 @@ window.onload = function() { </script> <form action="<?php echo $formaction; ?>" method="post"> -<table> +<table title="<?php echo T_('Collaborative description: these fields can be viewed and modified by every users') ?>"> <tr> <th align="left"><?php echo T_('Title'); ?></th> <td><input type="text" id="title" name="title" size="75" maxlength="255" value="<?php echo $description['cdTitle']; ?>" onkeypress="this.style.backgroundImage = 'none';" /></td> diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index ce34634..7ab54ab 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -6,10 +6,6 @@ $bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService'); $tagservice =& ServiceFactory::getServiceInstance('TagService'); $cdservice =& ServiceFactory::getServiceInstance('CommonDescriptionService'); -//$logged_on_userid = $userservice->getCurrentUserId(); -//$currentUser = $userservice->getCurrentUser(); -//$currentUsername = $currentUser[$userservice->getFieldName('username')]; - // Momentary useful to go to object code $currentObjectUser = $userservice->getCurrentObjectUser(); diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php index b112455..4f97dac 100644 --- a/templates/editbookmark.tpl.php +++ b/templates/editbookmark.tpl.php @@ -76,6 +76,11 @@ switch ($row['bStatus']) { <input type="submit" name="delete" value="<?php echo T_('Delete Bookmark'); ?>" /> <?php } + if (isset($showdelete) && $showdelete) { + echo ' (<a href="'.createURL('bookmarkcommondescriptionedit', $row['bHash']).'">'; + echo T_('edit common description').'</a>)'; + } + if ($popup) { ?> <input type="hidden" name="popup" value="1" /> |