Tweak featured themes for existing and new layouts.

        Patch by afuna. 

diffs (74 lines):

diff -r a77eed684cd6 -r 7a777c2fed1e cgi-bin/LJ/S2Theme/colorside_local.pm
--- a/cgi-bin/LJ/S2Theme/colorside_local.pm     Sun Sep 06 17:45:44 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/colorside_local.pm     Tue Sep 08 00:44:04 2009 +0800
@@ -8,11 +8,11 @@ sub cats { qw() }
 
 package LJ::S2Theme::colorside::fish;
 use base qw( LJ::S2Theme::colorside );
-sub cats { qw() }
+sub cats { qw( featured ) }
 
 package LJ::S2Theme::colorside::nadeshiko;
 use base qw( LJ::S2Theme::colorside );
-sub cats { qw( featured ) }
+sub cats { qw() }
 
 package LJ::S2Theme::colorside::wintergreen;
 use base qw( LJ::S2Theme::colorside );
diff -r a77eed684cd6 -r 7a777c2fed1e cgi-bin/LJ/S2Theme/modish_local.pm
--- a/cgi-bin/LJ/S2Theme/modish_local.pm        Sun Sep 06 17:45:44 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/modish_local.pm        Tue Sep 08 00:44:04 2009 +0800
@@ -1,10 +1,10 @@ package LJ::S2Theme::modish::lotus;
 package LJ::S2Theme::modish::lotus;
 use base qw( LJ::S2Theme::modish );
-sub cats { qw() }
+sub cats { qw( featured ) }
 
 package LJ::S2Theme::modish::scarlet;
 use base qw( LJ::S2Theme::modish );
-sub cats { qw( featured ) }
+sub cats { qw() }
 
 package LJ::S2Theme::modish::teal;
 use base qw( LJ::S2Theme::modish );
diff -r a77eed684cd6 -r 7a777c2fed1e cgi-bin/LJ/S2Theme/sundaymorning.pm
--- a/cgi-bin/LJ/S2Theme/sundaymorning.pm       Sun Sep 06 17:45:44 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/sundaymorning.pm       Tue Sep 08 00:44:04 2009 +0800
@@ -13,7 +13,7 @@ sub cats { qw() }
 
 package LJ::S2Theme::sundaymorning::greenswirls;
 use base qw( LJ::S2Theme::sundaymorning );
-sub cats { qw( featured ) }
+sub cats { qw() }
 
 package LJ::S2Theme::sundaymorning::pinkswirls;
 use base qw( LJ::S2Theme::sundaymorning );
diff -r a77eed684cd6 -r 7a777c2fed1e cgi-bin/LJ/S2Theme/transmogrified.pm
--- a/cgi-bin/LJ/S2Theme/transmogrified.pm      Sun Sep 06 17:45:44 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/transmogrified.pm      Tue Sep 08 00:44:04 2009 +0800
@@ -1,7 +1,6 @@ package LJ::S2Theme::transmogrified;
 package LJ::S2Theme::transmogrified;
 use base qw( LJ::S2Theme );
 
-sub cats { qw( featured ) }
 sub designer { "Yvonne" }
 
 sub layouts { ( "2r" => "two-columns-right" ) }
@@ -78,6 +77,8 @@ sub navigation_props {
     return $self->_append_props( "navigation_props", @props );
 }
 
+package LJ::S2Theme::transmogrified::basic;
+sub cats { qw() }
 
 package LJ::S2Theme::transmogrified::blackorwhite;
 use base qw( LJ::S2Theme::transmogrified );
@@ -117,7 +118,7 @@ package LJ::S2Theme::transmogrified::whi
 package LJ::S2Theme::transmogrified::whiteorblack;
 use base qw( LJ::S2Theme::transmogrified );
 
-sub cats { qw() }
+sub cats { qw( featured ) }
 sub designer { "zvi" }
 
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to