Discussion:
dw-free: http://bugs.dwscoalition.org/show_bug.cgi?id=3626
Dreamwidth Changelog
2011-04-19 13:07:54 UTC
Permalink
Switch the default group to presentation (basic journal opts such as number of items on the page, whether to use custom comment pages, etc)

Patch by fu.

diffs (12 lines):

diff -r fd8687a5e5c9 -r e89c761f0bb5 htdocs/customize/options.bml
--- a/htdocs/customize/options.bml Tue Apr 19 20:58:45 2011 +0800
+++ b/htdocs/customize/options.bml Tue Apr 19 21:07:43 2011 +0800
@@ -38,7 +38,7 @@ body<=
$u->set_prop( stylesys => 2 );
}

- my $group = $GET{group} ? $GET{group} : "display";
+ my $group = $GET{group} ? $GET{group} : "presentation";

# make sure there's a style set and load it
my $style = LJ::Customize->verify_and_load_style($u);
Dreamwidth Changelog
2011-04-20 14:07:03 UTC
Permalink
Make the link to the display options work.

Patch by fu.

diffs (12 lines):

diff -r 4c5c7fa3f42f -r 7d1ada126323 cgi-bin/LJ/Widget/CustomizeTheme.pm
--- a/cgi-bin/LJ/Widget/CustomizeTheme.pm Wed Apr 20 21:16:27 2011 +0800
+++ b/cgi-bin/LJ/Widget/CustomizeTheme.pm Wed Apr 20 22:06:47 2011 +0800
@@ -66,7 +66,7 @@ sub render_body {
### Navigation ###

$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'>" . $class->ml('widget.customizetheme.nav.display') . "</a>";
+ $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>";
Loading...