aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/topmenu.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 17:54:53 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 17:54:53 +0000
commit66e281c8094d0e5882baa7c3a76a4b23b312329d (patch)
treeaf6e66eb2b7fa4d8a2a3246e10ce6d58ac6a4cad /views/default/navigation/topmenu.php
parent7be113be2092be8741b31b5a4de428e5e07f5d43 (diff)
downloadelgg-66e281c8094d0e5882baa7c3a76a4b23b312329d.tar.gz
elgg-66e281c8094d0e5882baa7c3a76a4b23b312329d.tar.bz2
css, dashboard and topmenu tweaks
git-svn-id: https://code.elgg.org/elgg/trunk@170 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/topmenu.php')
-rw-r--r--views/default/navigation/topmenu.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/views/default/navigation/topmenu.php b/views/default/navigation/topmenu.php
index 571e3e7dc..4f50a409c 100644
--- a/views/default/navigation/topmenu.php
+++ b/views/default/navigation/topmenu.php
@@ -15,11 +15,17 @@
?>
+<?php
+ if($_SESSION['id'] != -1){
+?>
<div id="topmenu">
<ul>
- <li><a href=""><?php echo elgg_echo('dashboard'); ?></a></li>
+ <li><a href="<?php echo $vars['url']; ?>mod/dashboard/"><?php echo elgg_echo('dashboard'); ?></a></li>
<li><a href=""><?php echo elgg_echo('profile'); ?></a></li>
<li><a href=""><?php echo elgg_echo('account'); ?></a></li>
- <li><a href=""><?php echo elgg_echo('logout'); ?></a></li>
+ <li><a href="<?php echo $vars['url']; ?>action/logout"><?php echo elgg_echo('logout'); ?></a></li>
</ul>
-</div> \ No newline at end of file
+</div>
+<?php
+ }
+?> \ No newline at end of file