aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-22 23:08:46 -0800
committerfriendica <info@friendica.com>2013-01-22 23:08:46 -0800
commitb8c92a0a4285dae8d61750dc1b39c61bba6a3dda (patch)
tree1ff0e92fc45890d889ba70cc87865df92354cbe7 /include/nav.php
parentd06c21dc39b21d58f4c50e0f243a1d95c4137a6b (diff)
downloadvolse-hubzilla-b8c92a0a4285dae8d61750dc1b39c61bba6a3dda.tar.gz
volse-hubzilla-b8c92a0a4285dae8d61750dc1b39c61bba6a3dda.tar.bz2
volse-hubzilla-b8c92a0a4285dae8d61750dc1b39c61bba6a3dda.zip
fix some displayed links that were wonky
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index b65577e0f..3a565af55 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -90,8 +90,12 @@ EOT;
);
}
-
- $nav['lock'] = array('rmagic','',(($observer) ? 'lock' : 'unlock'), (($observer) ? $observer['xchan_addr'] : t('Click to authenticate to your home hub')));
+ if($observer)
+ $nav['lock'] = array('logout','','lock',
+ sprintf( t('%s - click to logout'), $observer['xchan_addr']));
+ else
+ $nav['lock'] = array('rmagic','','unlock',
+ t('Click to authenticate to your home hub'));
/**
* "Home" should also take you home from an authenticated remote profile connection