aboutsummaryrefslogtreecommitdiff
path: root/templates/toolbar.inc.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 08:08:33 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 08:08:33 +0000
commit639d8e15db8e2256b0c4bd7f518c76fe8674c6a7 (patch)
treed63b1bea03f426fb152076f73a7fbab16d89dd93 /templates/toolbar.inc.php
parent024b3074be5bfaff9aee776014d42288d7466ba8 (diff)
downloadsemanticscuttle-639d8e15db8e2256b0c4bd7f518c76fe8674c6a7.tar.gz
semanticscuttle-639d8e15db8e2256b0c4bd7f518c76fe8674c6a7.tar.bz2
Optimisation of the interface: moved toolbar, search menu, sort menu and right profile menu
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@6 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/toolbar.inc.php')
-rw-r--r--templates/toolbar.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/toolbar.inc.php b/templates/toolbar.inc.php
index 2eb56ac..916897c 100644
--- a/templates/toolbar.inc.php
+++ b/templates/toolbar.inc.php
@@ -2,14 +2,17 @@
$userservice =& ServiceFactory::getServiceInstance('UserService');
if ($userservice->isLoggedOn()) {
$cUser = $userservice->getCurrentUser();
+ $cUserId = $userservice->getCurrentUserId();
$cUsername = $cUser[$userservice->getFieldName('username')];
?>
<ul id="navigation">
<li><a href="<?php echo createURL('bookmarks', $cUsername); ?>"><?php echo T_('Bookmarks'); ?></a></li>
+ <li><a href="<?php echo createURL('alltags', $cUsername); ?>"><?php echo T_('Tags'); ?></a></li>
<li><a href="<?php echo createURL('watchlist', $cUsername); ?>"><?php echo T_('Watchlist'); ?></a></li>
+ <li><a href="<?php echo $userservice->getProfileUrl($cUserId, $cUsername); ?>"><?php echo T_('Profile'); ?></a></li>
<li><a href="<?php echo createURL('bookmarks', $cUsername . '?action=add'); ?>"><?php echo T_('Add a Bookmark'); ?></a></li>
- <li class="access"><a href="<?php echo $GLOBALS['root']; ?>?action=logout"><?php echo T_('Log Out'); ?></a></li>
+ <li class="access"><?php echo $cUsername?><a href="<?php echo $GLOBALS['root']; ?>?action=logout">(<?php echo T_('Log Out'); ?>)</a></li>
</ul>
<?php