fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-05-16 04:09 pm

[dw-free] Customize Journal Style: turn sidebar subsections into links

[commit: http://hg.dwscoalition.org/dw-free/rev/bb1e29820f6f]

http://bugs.dwscoalition.org/show_bug.cgi?id=2819

Remove unlinked sidebar sections.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/Widget/CustomizeTheme.pm
--------------------------------------------------------------------------------
diff -r f601d6758159 -r bb1e29820f6f cgi-bin/LJ/Widget/CustomizeTheme.pm
--- a/cgi-bin/LJ/Widget/CustomizeTheme.pm	Mon May 16 23:31:49 2011 +0800
+++ b/cgi-bin/LJ/Widget/CustomizeTheme.pm	Tue May 17 00:09:13 2011 +0800
@@ -52,7 +52,6 @@
 
         if ($g eq $group) {
             $classes .= " class='on";
-            $classes .= " heading" if $g eq "display";
             $classes .= "'";
         }
 
@@ -67,11 +66,6 @@
 
     $ret .= "<ul class='customize-nav nostyle' id='customize_theme_nav_links'>";
     $ret .= "<li" . $nav_class->("display") . "><a class='customize-nav-group' href='$LJ::SITEROOT/customize/options$getextra${getsep}group=display'>" . $class->ml('widget.customizetheme.nav.display') . "</a>";
-    $ret .= "<ul>";
-    $ret .= "<li>" . $class->ml('widget.customizetheme.nav.display.moodthemes') . "</li>";
-    $ret .= "<li>" . $class->ml('widget.customizetheme.nav.display.navstrip') . "</li>";
-
-    $ret .= "</ul>";
     $ret .= "</li>";
 
     foreach my $g (@$group_names) {
--------------------------------------------------------------------------------