]> git.mxchange.org Git - friendica.git/commitdiff
fix nav-selected duepuntozero
authorFriendika <info@friendika.com>
Thu, 29 Sep 2011 06:10:23 +0000 (23:10 -0700)
committerFriendika <info@friendika.com>
Thu, 29 Sep 2011 06:10:23 +0000 (23:10 -0700)
include/nav.php
view/theme/duepuntozero/nav.tpl
view/theme/duepuntozero/style.css

index b290a8da23ddeb0e7b24f58fccdc68a0b1003ae4..16ec941aa8b9d007c6fa133950e8d9c0e70fbe2c 100644 (file)
@@ -177,7 +177,7 @@ function nav_set_selected($item){
                'profiles'              => null,
                'notifications' => null,
                'messages'              => null,
-               'directyory'    => null,
+               'directory'     => null,
                'settings'              => null,
                'contacts'              => null,
        );
index 2cd29a7c298c923e39d4903e0752e7fc5a83b74e..82ac178e8ff4926faf26bed328d9c8f651f55629 100644 (file)
@@ -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>
                
        {{ 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 }}
index 9c0d327eeca04fa891f5f7177f6ce83479048653..1fe8fb2f4832c313f3c1b548a2ecfb0ae6bb6b90 100644 (file)
@@ -146,7 +146,7 @@ nav .nav-link {
 }
 
 
-.nav-selected {
+.nav-commlink.selected {
        background-color: #ffffff;
        border-bottom: 1px solid #ffffff;
        color: #000000 !important;