aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/topmenu.php
blob: 4f50a409cf17f9cbc1b736d8c5d12e83e4a4e08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

	/**
	 * Elgg standard top level menu
	 * The standard user top level navigation; dashboard, profile, account, logout
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.org/
	 * 
	 */
	 
?>

<?php
     if($_SESSION['id'] != -1){
?>
<div id="topmenu">
    <ul>
        <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 $vars['url']; ?>action/logout"><?php echo elgg_echo('logout'); ?></a></li>
    </ul>
</div>
<?php
    }
?>