aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-01 14:45:52 -0800
committerzotlabs <mike@macgirvin.com>2017-02-01 14:45:52 -0800
commitdb710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08 (patch)
tree5f307d7390ea9cd90abaeb12dd26c65e70f484b1 /boot.php
parentec037abf92be6ac6495cabcd5d64821655f39e37 (diff)
downloadvolse-hubzilla-db710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08.tar.gz
volse-hubzilla-db710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08.tar.bz2
volse-hubzilla-db710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08.zip
fix a few style issues with nav login panel
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 0eae8b3ed..5fe42a03f 100755
--- a/boot.php
+++ b/boot.php
@@ -1694,7 +1694,7 @@ function fix_system_urls($oldurl, $newurl) {
// link. This will most always depend on the value of App::$config['system']['register_policy'].
// returns the complete html for inserting into the page
-function login($register = false, $form_id = 'main-login', $hiddens=false) {
+function login($register = false, $form_id = 'main-login', $hiddens=false, $login_page = true) {
$o = '';
$reg = false;
$reglink = get_config('system', 'register_link');
@@ -1720,6 +1720,7 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) {
$o .= replace_macros($tpl,array(
'$dest_url' => $dest_url,
+ '$login_page' => $login_page,
'$logout' => t('Logout'),
'$login' => t('Login'),
'$form_id' => $form_id,