]> git.mxchange.org Git - friendica.git/blob - include/nav.php
db update script
[friendica.git] / include / nav.php
1
2 <?php
3         $a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";
4
5         if(x($_SESSION,'uid')) {
6
7                 $a->page['nav'] .= "<a id=\"nav-notify-link\" class=\"nav-commlink\" href=\"notifications\">Notifications</a>\r\n";
8
9                 $a->page['nav'] .= "<a id=\"nav-messages-link\" class=\"nav-commlink\" href=\"Messages\">Messages</a>\r\n";
10
11
12                 $a->page['nav'] .= "<a id=\"nav-logout-link\" class=\"nav-link\" href=\"logout\">Logout</a>\r\n";
13
14                 $a->page['nav'] .= "<a id=\"nav-settings-link\" class=\"nav-link\" href=\"settings\">Settings</a>\r\n";
15
16                 $a->page['nav'] .= "<a id=\"nav-profiles-link\" class=\"nav-link\" href=\"profiles\">Profiles</a>\r\n";
17
18                 $a->page['nav'] .= "<a id=\"nav-contacts-link\" class=\"nav-link\" href=\"contacts\">Contacts</a>\r\n";
19
20                 $a->page['nav'] .= "<a id=\"nav-home-link\" class=\"nav-link\" href=\"profile/{$_SESSION['uid']}\">Home</a>\r\n";
21                 
22         }
23         $a->page['nav'] .= "</span>\r\n<span id=\"nav-end\"></span>\r\n";