From d8d8dd5ceda475f56a8c6ed2324f2eae94658d3a Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 19 Jan 2013 01:07:35 -0800 Subject: directory services cleanup --- include/nav.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/nav.php') diff --git a/include/nav.php b/include/nav.php index 644264a92..b65577e0f 100644 --- a/include/nav.php +++ b/include/nav.php @@ -118,9 +118,9 @@ EOT; $nav['search'] = array('search', t('Search'), "", t('Search site content')); - $gdirpath = 'directory'; - $nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory')); + $nav['directory'] = array('directory', t('Channel Directory'), "", t('Channel Locator')); + /** * @@ -199,6 +199,7 @@ EOT; '$localuser' => local_user(), '$sel' => $a->nav_sel, '$apps' => $a->get_apps(), + '$pleasewait' => t('Please wait...') )); call_hooks('page_header', $a->page['nav']); -- cgit v1.2.3 From b8c92a0a4285dae8d61750dc1b39c61bba6a3dda Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 22 Jan 2013 23:08:46 -0800 Subject: fix some displayed links that were wonky --- include/nav.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/nav.php') 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 -- cgit v1.2.3