Change navstrip link to use "style=light" instead.
Patch by yvi.
diffs (30 lines):
diff -r d6f24cd5f075 -r 4e1815c6a5ca cgi-bin/weblib.pl
--- a/cgi-bin/weblib.pl Mon Jul 20 17:27:43 2009 +0000
+++ b/cgi-bin/weblib.pl Mon Jul 20 12:47:16 2009 -0500
@@ -2787,7 +2787,7 @@ LOGIN_BAR
$ret .= "</td>";
}
- # search box and ?style=mine/?format=light options
+ # search box and ?style=mine/?style=light options
my @view_options;
#determine whether style is "mine", and define new uri variable to
manipulate
#note: all expressions case-insensitive
@@ -2815,7 +2815,7 @@ LOGIN_BAR
} else {
$querysep2 = "?";
}
- #appropriate links depending on whether style is "mine" and whether
format=light is possible on this type of content
+ #appropriate links depending on whether style is "mine" and whether
style=light is possible on this type of content
if ($remote) {
if ($currentstylemine) {
push @view_options, "<a href='$newuri'>" . LJ::Lang::ml(
'web.controlstrip.reloadpage.origstyle' ) . "</a>"
@@ -2823,7 +2823,7 @@ 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}format=light'>" .
LJ::Lang::ml( 'web.controlstrip.reloadpage.lightstyle' ) . "</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/ );
$ret .= "<td id='lj_controlstrip_search'>";
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog