mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
show 'login' tab selected on login page
This commit is contained in:
parent
2ffe0d0b1d
commit
2ea85fd67e
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@
|
||||||
$a->page['nav'] .= '<a id="nav-logout-link" class="nav-link" href="logout">' . t('Logout') . "</a>\r\n";
|
$a->page['nav'] .= '<a id="nav-logout-link" class="nav-link" href="logout">' . t('Logout') . "</a>\r\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$a->page['nav'] .= '<a id="nav-login-link" class="nav-login-link" href="login">' . t('Login') . "</a>\r\n";
|
$a->page['nav'] .= '<a id="nav-login-link" class="nav-login-link';
|
||||||
|
if ($a->module == 'login') { $a->page['nav'] .= ' nav-selected'; }
|
||||||
|
|
||||||
|
$a->page['nav'] .= '" href="login">' . t('Login') . "</a>\r\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";
|
$a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";
|
||||||
|
|
Loading…
Reference in a new issue