diff options
author | Friendika <info@friendika.com> | 2011-02-06 23:04:10 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-06 23:04:10 -0800 |
commit | 118f1d7e0a517d5c2734c6c40d6e4c44c09d1cc5 (patch) | |
tree | db8a936ca0e5e2edf4380ac5c8b630be65f61298 /boot.php | |
parent | 0d9ed4873801a669ff9530a5fa434252a1be2a57 (diff) | |
download | volse-hubzilla-118f1d7e0a517d5c2734c6c40d6e4c44c09d1cc5.tar.gz volse-hubzilla-118f1d7e0a517d5c2734c6c40d6e4c44c09d1cc5.tar.bz2 volse-hubzilla-118f1d7e0a517d5c2734c6c40d6e4c44c09d1cc5.zip |
don't show logout link on 'home' link if remote_user
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -762,7 +762,7 @@ function login($register = false) { $lostpass = t('Forgot your password?'); $lostlink = t('Password Reset'); - if(x($_SESSION,'authenticated')) { + if(local_user())) { $tpl = load_view_file("view/logout.tpl"); } else { @@ -772,12 +772,12 @@ function login($register = false) { $o = replace_macros($tpl,array( '$register_html' => $register_html, - '$classname' => $classname, - '$namelabel' => $namelabel, - '$passlabel' => $passlabel, - '$login' => $login, - '$lostpass' => $lostpass, - '$lostlink' => $lostlink + '$classname' => $classname, + '$namelabel' => $namelabel, + '$passlabel' => $passlabel, + '$login' => $login, + '$lostpass' => $lostpass, + '$lostlink' => $lostlink )); return $o; |