show 'login' tab selected on login page
This commit is contained in:
parent
2ffe0d0b1d
commit
2ea85fd67e
|
@ -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