aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-23 16:31:40 -0800
committerzotlabs <mike@macgirvin.com>2017-01-23 16:31:40 -0800
commitcb47354a4f76e033485e9818b137742c01466dbe (patch)
tree1cba8e14d0cd1069a4d80bfa0acd51e24401b7bc /include/nav.php
parent61588a4b772f8c5c0c231cf2eb63d72a8f64411d (diff)
downloadvolse-hubzilla-cb47354a4f76e033485e9818b137742c01466dbe.tar.gz
volse-hubzilla-cb47354a4f76e033485e9818b137742c01466dbe.tar.bz2
volse-hubzilla-cb47354a4f76e033485e9818b137742c01466dbe.zip
put login form into the nav bar. Proof of concept - needs a bit of UI tweaks.
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index 6ad43c909..ce259255e 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -112,6 +112,7 @@ EOT;
}
else {
if(! get_account_id()) {
+ $nav['login'] = login();
$nav['loginmenu'][] = Array('login',t('Login'),'',t('Sign in'),'login_nav_btn');
}
else
@@ -128,6 +129,7 @@ EOT;
}
elseif(! $_SESSION['authenticated']) {
+ $nav['remote_login'] = remote_login();
$nav['loginmenu'][] = Array('rmagic',t('Remote authentication'),'',t('Click to authenticate to your home hub'),'rmagic_nav_btn');
}