fix some displayed links that were wonky

This commit is contained in:
friendica
2013-01-22 23:08:46 -08:00
parent d06c21dc39
commit b8c92a0a42
2 changed files with 9 additions and 4 deletions

View File

@@ -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