diff options
author | Friendika <info@friendika.com> | 2011-09-28 23:10:23 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-28 23:10:23 -0700 |
commit | ffa3b67365741d77b9a21b8505e4661668e6b561 (patch) | |
tree | 8b8566e15057556726648c1d96453f0c86a66fa6 | |
parent | 26905751eacdda05499587e9b04cd175be93c0a2 (diff) | |
download | volse-hubzilla-ffa3b67365741d77b9a21b8505e4661668e6b561.tar.gz volse-hubzilla-ffa3b67365741d77b9a21b8505e4661668e6b561.tar.bz2 volse-hubzilla-ffa3b67365741d77b9a21b8505e4661668e6b561.zip |
fix nav-selected duepuntozero
-rw-r--r-- | include/nav.php | 2 | ||||
-rw-r--r-- | view/theme/duepuntozero/nav.tpl | 14 | ||||
-rw-r--r-- | view/theme/duepuntozero/style.css | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/include/nav.php b/include/nav.php index b290a8da2..16ec941aa 100644 --- a/include/nav.php +++ b/include/nav.php @@ -177,7 +177,7 @@ function nav_set_selected($item){ 'profiles' => null, 'notifications' => null, 'messages' => null, - 'directyory' => null, + 'directory' => null, 'settings' => null, 'contacts' => null, ); diff --git a/view/theme/duepuntozero/nav.tpl b/view/theme/duepuntozero/nav.tpl index 2cd29a7c2..82ac178e8 100644 --- a/view/theme/duepuntozero/nav.tpl +++ b/view/theme/duepuntozero/nav.tpl @@ -8,7 +8,7 @@ <span id="nav-link-wrapper" > - {{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }} + {{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }} <a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a> @@ -20,26 +20,26 @@ {{ if $nav.admin }}<a id="nav-admin-link" class="nav-link $nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a>{{ endif }} {{ if $nav.network }} - <a id="nav-network-link" class="nav-commlink $nav.network.2" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a> + <a id="nav-network-link" class="nav-commlink $nav.network.2 $sel.network" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a> <span id="net-update" class="nav-ajax-left"></span> {{ endif }} {{ if $nav.home }} - <a id="nav-home-link" class="nav-commlink $nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a> + <a id="nav-home-link" class="nav-commlink $nav.home.2 $sel.home" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a> <span id="home-update" class="nav-ajax-left"></span> {{ endif }} {{ if $nav.community }} - <a id="nav-community-link" class="nav-commlink $nav.community.2" href="$nav.community.0" title="$nav.community.3" >$nav.community.1</a> + <a id="nav-community-link" class="nav-commlink $nav.community.2 $sel.community" href="$nav.community.0" title="$nav.community.3" >$nav.community.1</a> {{ endif }} {{ if $nav.notifications }} - <a id="nav-notify-link" class="nav-commlink $nav.notifications.2" href="$nav.notifications.0" title="$nav.notifications.3" >$nav.notifications.1</a> + <a id="nav-notify-link" class="nav-commlink $nav.notifications.2 $sel.notifications" href="$nav.notifications.0" title="$nav.notifications.3" >$nav.notifications.1</a> <span id="notify-update" class="nav-ajax-left"></span> {{ endif }} {{ if $nav.messages }} - <a id="nav-messages-link" class="nav-commlink $nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a> + <a id="nav-messages-link" class="nav-commlink $nav.messages.2" href="$nav.messages.0 $sel.messages" title="$nav.messages.3" >$nav.messages.1</a> <span id="mail-update" class="nav-ajax-left"></span> {{ endif }} - {{ if $nav.manage }}<a id="nav-manage-link" class="nav-commlink $nav.manage.2" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }} + {{ if $nav.manage }}<a id="nav-manage-link" class="nav-commlink $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }} {{ if $nav.settings }}<a id="nav-settings-link" class="nav-link $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a>{{ endif }} {{ if $nav.profiles }}<a id="nav-profiles-link" class="nav-link $nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a>{{ endif }} diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 9c0d327ee..1fe8fb2f4 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -146,7 +146,7 @@ nav .nav-link { } -.nav-selected { +.nav-commlink.selected { background-color: #ffffff; border-bottom: 1px solid #ffffff; color: #000000 !important; |