aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-08 17:30:00 -0800
committerFriendika <info@friendika.com>2010-11-08 17:30:00 -0800
commit45149271285ea3515c3c1a7ea189609969c76748 (patch)
tree8c51894b100815a17662a881e0785eb5c708118f /include/nav.php
parent01f171bce71126f60cf0ef9b447006b34c5a3891 (diff)
downloadvolse-hubzilla-45149271285ea3515c3c1a7ea189609969c76748.tar.gz
volse-hubzilla-45149271285ea3515c3c1a7ea189609969c76748.tar.bz2
volse-hubzilla-45149271285ea3515c3c1a7ea189609969c76748.zip
added search
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/nav.php b/include/nav.php
index 7f15ec805..dfa2dcc91 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -1,16 +1,16 @@
<?php
-if(! x($a->page,'nav'))
- $a->page['nav'] = '';
+ if(! x($a->page,'nav'))
+ $a->page['nav'] = '';
-$a->page['nav'] .= '<div id="panel" style="display: none;"></div>' ;
+ $a->page['nav'] .= '<div id="panel" style="display: none;"></div>' ;
-if(local_user()) {
+ if(local_user()) {
$a->page['nav'] .= '<a id="nav-logout-link" class="nav-link" href="logout">' . t('Logout') . "</a>\r\n";
-}
-else {
+ }
+ else {
$a->page['nav'] .= '<a id="nav-login-link" class="nav-login-link" href="login">' . t('Login') . "</a>\r\n";
-}
+ }
$a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";
@@ -20,6 +20,7 @@ else {
$a->page['nav'] .= '<a id="nav-register-link" class="nav-commlink" href="register" >'
. t('Register') . "</a>\r\n";
+ $a->page['nav'] .= '<a id="nav-search-link" class="nav-link" href="search">' . t('Search') . "</a>\r\n";
$a->page['nav'] .= '<a id="nav-directory-link" class="nav-link" href="directory">' . t('Directory') . "</a>\r\n";
if(x($_SESSION,'uid')) {