diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 07:09:51 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 07:09:51 +0100 |
commit | bd512ab60c5128cec449a48e7d0736303f961e89 (patch) | |
tree | e7675972310a06b55a5987dddb44beae63220a76 /include/nav.php | |
parent | ed37b1d166b22499c8f46e7f71e698a2985c9233 (diff) | |
parent | c574e4c5879312f57db43436044285de56026f0b (diff) | |
download | volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.gz volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.bz2 volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php index 96acf826d..94a71d227 100644 --- a/include/nav.php +++ b/include/nav.php @@ -34,7 +34,10 @@ $a->page['nav'] .= '<a id="nav-logout-link" class="nav-link" href="logout">' . t('Logout') . "</a>\r\n"; } 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"; |