aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation')
-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