summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.menu.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-05-09 07:29:50 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-05-09 07:29:50 +0000
commitc1c23e20dba5d935b39cc7603e5c496560a2bac3 (patch)
tree3e6ea69bbf86f7bfe9dbfc7a815445023fa7e59f /templates/sidebar.block.menu.php
parent791f1492478e4497a554c2a3a1c8737c36d71821 (diff)
downloadsemanticscuttle-c1c23e20dba5d935b39cc7603e5c496560a2bac3.tar.gz
semanticscuttle-c1c23e20dba5d935b39cc7603e5c496560a2bac3.tar.bz2
Interface fix: enable sorting bookmarks asc or desc; improve navigation links
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@119 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.block.menu.php')
-rw-r--r--templates/sidebar.block.menu.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/sidebar.block.menu.php b/templates/sidebar.block.menu.php
index de4f0f7..0c7087a 100644
--- a/templates/sidebar.block.menu.php
+++ b/templates/sidebar.block.menu.php
@@ -57,8 +57,16 @@ if (sizeof($menuTags) > 0 || ($userid != 0 && $userid === $logged_on_userid)) {
</table>
<?php $cUser = $userservice->getUser($userid); ?>
+<?php if($userid>0): ?>
+<?php if($userid==$logged_on_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>
+<?php else: ?>
+<p style="text-align:right"><a href="<?php echo createURL('alltags', $cUser['username']); ?>" title="<?php echo T_('See all tags from this user')?>"><?php echo T_('all tags from this user'); ?></a> &rarr;</p>
+<?php endif; ?>
+<?php else : ?>
+<p style="text-align:right"><a href="<?php echo createURL('populartags', $cUser['username']); ?>" title="<?php echo T_('See popular tags')?>"><?php echo T_('Popular Tags'); ?></a> &rarr;</p>
+<?php endif; ?>
</div>
<?php