aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-03-03 16:52:04 +0000
committerMario <mario@mariovavti.com>2022-03-03 16:52:04 +0000
commitc8417df6f1bf6cf8eae03a1b14e67e6c3c113afa (patch)
tree1ff37b0776ac623940725b7f675b7d4a7b0ce4b3 /include/nav.php
parentdc3be7ecf70271b02a98b07a4da081b42601d1d0 (diff)
downloadvolse-hubzilla-c8417df6f1bf6cf8eae03a1b14e67e6c3c113afa.tar.gz
volse-hubzilla-c8417df6f1bf6cf8eae03a1b14e67e6c3c113afa.tar.bz2
volse-hubzilla-c8417df6f1bf6cf8eae03a1b14e67e6c3c113afa.zip
fix duplicate ids in login form and move login/register buttons into the hamburger menu on small screens
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index 9278c1587..b9b24e34c 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -118,11 +118,11 @@ function nav($template = 'default') {
else {
if (!get_account_id()) {
if (App::$module === 'channel') {
- $nav['login'] = login(true, 'main-login', false, false);
+ $nav['login'] = login(true, 'modal_login', false, false);
$nav['loginmenu'][] = ['login', t('Login'), '', t('Sign in'), ''];
}
else {
- $nav['login'] = login(true, 'main-login', false, false);
+ $nav['login'] = login(true, 'modal_login', false, false);
$nav['loginmenu'][] = ['login', t('Login'), '', t('Sign in'), 'login_nav_btn'];
App::$page['content'] .= replace_macros(get_markup_template('nav_login.tpl'),