summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.menu.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-04-24 08:48:57 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-04-24 08:48:57 +0000
commit791f1492478e4497a554c2a3a1c8737c36d71821 (patch)
tree4037e33a1d69a7a9170d88666e0752d900c904c4 /templates/sidebar.block.menu.php
parent3b79d6b9cc75eaf2b54f6d41843a313b13395c8d (diff)
downloadsemanticscuttle-791f1492478e4497a554c2a3a1c8737c36d71821.tar.gz
semanticscuttle-791f1492478e4497a554c2a3a1c8737c36d71821.tar.bz2
Interface design: improve tags presentation, menu box, popup size, redirection after adding a bookmark, RSS link position
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@118 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.block.menu.php')
-rw-r--r--templates/sidebar.block.menu.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/sidebar.block.menu.php b/templates/sidebar.block.menu.php
index 20db5e0..de4f0f7 100644
--- a/templates/sidebar.block.menu.php
+++ b/templates/sidebar.block.menu.php
@@ -21,14 +21,12 @@ if(strlen($user)==0) {
}
$menuTags = $tag2tagservice->getMenuTags($userid);
-if (sizeof($menuTags) > 0) {
+if (sizeof($menuTags) > 0 || ($userid != 0 && $userid === $logged_on_userid)) {
?>
<h2>
<?php
echo '<span title="'.sprintf(T_('Tags included into the tag \'%s\''), $GLOBALS['menuTag']).'">'.T_('Menu Tags').'</span> ';
- $cUser = $userservice->getUser($userid);
- echo '<small span title="'.T_('See all tags').'"><a href="'.createURL('alltags', $cUser['username']).'">('.T_('all tags').')</a></small>';
//}
?>
</h2>
@@ -39,8 +37,8 @@ if (sizeof($menuTags) > 0) {
<?php
if($editingMode) {
echo '<tr><td></td><td>';
- echo ' (<a href="'. createURL('tag2tagadd','') .'" rel="tag">'.T_('Add new link').'</a>) ';
- echo ' (<a href="'. createURL('tag2tagdelete','') .'" rel="tag">'.T_('Delete link').'</a>)';
+ echo ' (<a href="'. createURL('tag2tagadd','menu') .'" rel="tag">'.T_('Add new link').'</a>) ';
+ echo ' (<a href="'. createURL('tag2tagdelete','menu') .'" rel="tag">'.T_('Delete link').'</a>)';
echo '</td></tr>';
}
@@ -57,6 +55,10 @@ if (sizeof($menuTags) > 0) {
}
?>
</table>
+
+<?php $cUser = $userservice->getUser($userid); ?>
+<p style="text-align:right"><a href="<?php echo createURL('alltags', $cUser['username']); ?>" title="<?php echo T_('See all your tags')?>"><?php echo T_('all your tags'); ?></a> &rarr;</p>
+
</div>
<?php