From cb47354a4f76e033485e9818b137742c01466dbe Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 23 Jan 2017 16:31:40 -0800 Subject: put login form into the nav bar. Proof of concept - needs a bit of UI tweaks. --- include/nav.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/nav.php') 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'); } -- cgit v1.2.3