Committer: iaskarov
LJSUP-8065 We'd like to create a category for Premium Styles on the Customize Journal pageU trunk/bin/upgrading/en.dat U trunk/cgi-bin/LJ/Customize.pm U trunk/cgi-bin/LJ/S2Theme/stylecontest.pm
Modified: trunk/bin/upgrading/en.dat =================================================================== --- trunk/bin/upgrading/en.dat 2011-03-14 11:39:33 UTC (rev 18542) +++ trunk/bin/upgrading/en.dat 2011-03-14 11:41:25 UTC (rev 18543) @@ -816,6 +816,8 @@ customize.cats.pattern|staleness=1 customize.cats.pattern=Pattern/Texture +customize.cats.premium=Premium + customize.cats.special|staleness=1 customize.cats.special=Special Modified: trunk/cgi-bin/LJ/Customize.pm =================================================================== --- trunk/cgi-bin/LJ/Customize.pm 2011-03-14 11:39:33 UTC (rev 18542) +++ trunk/cgi-bin/LJ/Customize.pm 2011-03-14 11:41:25 UTC (rev 18543) @@ -654,22 +654,27 @@ all => { text => LJ::Lang::ml('customize.cats.all'), main => 1, - order => 2, + order => 3, }, featured => { text => LJ::Lang::ml('customize.cats.featured'), main => 1, order => 1, }, + premium => { + text => LJ::Lang::ml('customize.cats.premium'), + main => 1, + order => 2, + }, special => { text => LJ::Lang::ml('customize.cats.special'), main => 1, - order => 3, + order => 4, }, custom => { text => LJ::Lang::ml('customize.cats.custom'), main => 1, - order => 4, + order => 5, }, sup => { text => LJ::Lang::ml('customize.cats.sup'), Modified: trunk/cgi-bin/LJ/S2Theme/stylecontest.pm =================================================================== --- trunk/cgi-bin/LJ/S2Theme/stylecontest.pm 2011-03-14 11:39:33 UTC (rev 18542) +++ trunk/cgi-bin/LJ/S2Theme/stylecontest.pm 2011-03-14 11:41:25 UTC (rev 18543) @@ -9,12 +9,12 @@ package LJ::S2Theme::stylecontest::bamboo_dream; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( illustrated modern nature ) } +sub cats { qw( illustrated modern nature premium ) } sub designer { "Parker Torrence" } package LJ::S2Theme::stylecontest::cartoon; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( cute illustrated ) } +sub cats { qw( cute illustrated premium ) } sub designer { "Agus Riady" } package LJ::S2Theme::stylecontest::clean_cut; @@ -24,12 +24,12 @@ package LJ::S2Theme::stylecontest::cleanstyle_black_and_white; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( illustrated ) } +sub cats { qw( illustrated premium ) } sub designer { "James Bow" } package LJ::S2Theme::stylecontest::cleanstyle_blue_and_yellow; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( illustrated ) } +sub cats { qw( illustrated premium ) } sub designer { "James Bow" } package LJ::S2Theme::stylecontest::espresso_at_midnight; @@ -39,7 +39,7 @@ package LJ::S2Theme::stylecontest::feminism; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( warm illustrated ) } +sub cats { qw( warm illustrated premium ) } sub designer { "Carolyn Smith" } package LJ::S2Theme::stylecontest::fleur; @@ -69,7 +69,7 @@ package LJ::S2Theme::stylecontest::hot_springs; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( hobbies illustrated nature ) } +sub cats { qw( hobbies illustrated nature premium ) } sub designer { "Parker Torrence" } package LJ::S2Theme::stylecontest::kinda_canoe; @@ -94,12 +94,12 @@ package LJ::S2Theme::stylecontest::makeup; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( warm illustrated ) } +sub cats { qw( warm illustrated premium ) } sub designer { "Denisa Furnica" } package LJ::S2Theme::stylecontest::mango; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( cool food illustrated ) } +sub cats { qw( cool food illustrated premium ) } sub designer { "Lorraine Barte" } package LJ::S2Theme::stylecontest::miniml; @@ -129,7 +129,7 @@ package LJ::S2Theme::stylecontest::note_taking; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( hobbies illustrated ) } +sub cats { qw( hobbies illustrated premium ) } sub designer { "Bess Fernandez" } package LJ::S2Theme::stylecontest::painterly; @@ -139,7 +139,7 @@ package LJ::S2Theme::stylecontest::scarf; use base qw(LJ::S2Theme::stylecontest); -sub cats { qw( illustrated ) } +sub cats { qw( illustrated premium ) } sub designer { "Thuan Huynh" } package LJ::S2Theme::stylecontest::shadow_dancers;