aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index c51c56ad2..d24abd4ac 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -2,6 +2,11 @@
<?php
$a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";
+ if(($a->module != 'home') && (! (x($_SESSION['uid']))))
+ $a->page['nav'] .= "<a id=\"nav-home-link\" class=\"nav-commlink\" href=\"\">Home</a>\r\n";
+
+ $a->page['nav'] .= "<a id=\"nav-directory-link\" class=\"nav-commlink\" href=\"directory\">Site Directory</a>\r\n";
+
if(x($_SESSION,'uid')) {
$a->page['nav'] .= "<a id=\"nav-notify-link\" class=\"nav-commlink\" href=\"notifications\">Notifications</a>\r\n";
@@ -20,4 +25,5 @@
$a->page['nav'] .= "<a id=\"nav-home-link\" class=\"nav-link\" href=\"profile/{$_SESSION['uid']}\">Home</a>\r\n";
}
+
$a->page['nav'] .= "</span>\r\n<span id=\"nav-end\"></span>\r\n";