aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-28 18:24:07 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-28 18:24:07 -0700
commit050be990349b75f38095242347b2e13b9bb579f7 (patch)
tree5fdb291b331114969d2be7351a34ad955762459d /include
parent7feed93a560182d80a5305650b016bc1b2db7542 (diff)
downloadvolse-hubzilla-050be990349b75f38095242347b2e13b9bb579f7.tar.gz
volse-hubzilla-050be990349b75f38095242347b2e13b9bb579f7.tar.bz2
volse-hubzilla-050be990349b75f38095242347b2e13b9bb579f7.zip
added friend viewer
Diffstat (limited to 'include')
-rw-r--r--include/nav.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index b95a4263c..ce83d94d3 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -6,9 +6,12 @@ if(x($_SESSION['uid'])) {
$a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";
- if(($a->module != 'home') && (! (x($_SESSION['uid']))))
+ if(($a->module != 'home') && (! (local_user())))
$a->page['nav'] .= '<a id="nav-home-link" class="nav-commlink" href="">' . t('Home') . "</a>\r\n";
-
+ if(($a->config['register_policy'] == REGISTER_OPEN) && (! local_user()) && (! remote_user()))
+ $a->page['nav'] .= '<a id="nav-register-link" class="nav-commlink" href="register" >'
+ . t('Register Now (it\'s FREE)') . "</a>\r\n";
+
$a->page['nav'] .= '<a id="nav-directory-link" class="nav-link" href="directory">' . t('Site Directory') . "</a>\r\n";
if(x($_SESSION,'uid')) {