Put style=light in the navbar for all user pages.

        Patch by yvi. 

diffs (23 lines):

diff -r dfaf2ec070fe -r c5a7784965d7 cgi-bin/weblib.pl
--- a/cgi-bin/weblib.pl Fri Sep 18 07:16:06 2009 -0500
+++ b/cgi-bin/weblib.pl Fri Sep 18 17:08:08 2009 -0500
@@ -2880,7 +2880,7 @@ LOGIN_BAR
     } else {
         $querysep2 = "?";
     }
-    #appropriate links depending on whether style is "mine" and whether 
style=light is possible on this type of content
+    #appropriate links depending on whether style is "mine"
     if ($remote) {
         if ($currentstylemine) {
             push @view_options, "<a href='$newuri'>" . LJ::Lang::ml( 
'web.controlstrip.reloadpage.origstyle' ) . "</a>"
@@ -2888,8 +2888,8 @@ LOGIN_BAR
             push @view_options, "<a href='$newuri${querysep2}style=mine'>" . 
LJ::Lang::ml( 'web.controlstrip.reloadpage.mystyle' ) . "</a>"
         }
     }
-    push @view_options, "<a href='$newuri${querysep2}style=light'>" . 
LJ::Lang::ml( 'web.controlstrip.reloadpage.lightstyle' ) . "</a>"
-        if $view eq "entry" || $view eq "reply" || $view eq "tag" || $view eq 
"month" || ( $view eq "lastn" && $uri =~ /\/tag/ );
+    #style=light available on every page that supports showing the navstrip
+    push @view_options, "<a href='$newuri${querysep2}style=light'>" . 
LJ::Lang::ml( 'web.controlstrip.reloadpage.lightstyle' ) . "</a>";
 
     $ret .= "<td id='lj_controlstrip_search'>";
     $ret .= LJ::Widget::Search->render;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to