Make menu headers link to /nav/category, instead of /nav?cat=category.

        Patch by foxfirefey. 

diffs (12 lines):

diff -r 326fc5843cda -r e5a8ee8c1d89 cgi-bin/bml/scheme/global.look
--- a/cgi-bin/bml/scheme/global.look    Fri Jun 25 14:54:44 2010 +0800
+++ b/cgi-bin/bml/scheme/global.look    Fri Jun 25 15:00:31 2010 +0800
@@ -305,7 +305,7 @@ menunav<=
             push @displayed, "<li class='subnav'><a href='$item->{url}'>" . 
BML::ml( "$item->{text}", $item->{text_opts} ) . "</a></li>" if 
$item->{display};
         }
         if ( @displayed ) {   # only display a top-level menu if any of its 
items are displayed
-            $ret .= "<li id='${cat}_topnav' class='topnav'><a 
href='$LJ::SITEROOT/nav?cat=$cat'>$ML{\"menunav.$cat\"}</a>\n";
+            $ret .= "<li id='${cat}_topnav' class='topnav'><a 
href='$LJ::SITEROOT/nav/$cat'>$ML{\"menunav.$cat\"}</a>\n";
             $ret .= "<ul id='${cat}_subnav' class='subnav_container'>\n";
             $ret .= join( "\n", @displayed ) . "\n";
             $ret .= "</ul>\n";
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to