Special-case the handling of a stylesheet for the sitefeeds style here.
Patch by fu.
diffs (13 lines):
diff -r ea4f943ae4e9 -r 4620690370e7 cgi-bin/LJ/S2.pm
--- a/cgi-bin/LJ/S2.pm Thu Jul 29 09:11:29 2010 -0700
+++ b/cgi-bin/LJ/S2.pm Fri Jul 30 06:43:15 2010 -0700
@@ -54,7 +54,8 @@ sub make_journal
if ($view eq "res") {
if ($opts->{'pathextra'} =~ m!/(\d+)/stylesheet$!) {
- $styleid = $1;
+ $styleid = $1 unless $styleid eq "sitefeeds";
+
$entry = [ qw( Page::print_default_stylesheet() print_stylesheet()
Page::print_theme_stylesheet() ) ];
$opts->{'contenttype'} = 'text/css';
$use_modtime = 1;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog