Committer: narefieva
LJSUP-6993: October Header 2010 U trunk/cgi-bin/LJ/Hooks/Homepage.pm U trunk/htdocs/stc/reskining/october2010/october2010.css
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2010-09-28 09:27:37 UTC (rev 9555) +++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2010-09-28 09:37:42 UTC (rev 9556) @@ -159,13 +159,21 @@ } +## october2010 +sub _is_october2010_reskining_active { + my $params = shift; + return 1; +} + + + LJ::register_hook("service_page_reskining", sub { my $params = shift || {}; - if(_is_september2010_reskining_active($params)){ + if(_is_october2010_reskining_active($params)){ ## Sep 2010 - LJ::need_res("stc/reskining/september2010/september2010.css"); - my $text = LJ::Lang::ml('reskining.september2010'); + LJ::need_res("stc/reskining/october2010/october2010.css"); + my $text = LJ::Lang::ml('reskining.october2010'); LJ::CleanHTML::clean(\$text); ## to expand <lj-user> tags return qq[<dl class="b-reskining-about"><dt></dt><dd>$text</dd></dl>]; Modified: trunk/htdocs/stc/reskining/october2010/october2010.css =================================================================== --- trunk/htdocs/stc/reskining/october2010/october2010.css 2010-09-28 09:27:37 UTC (rev 9555) +++ trunk/htdocs/stc/reskining/october2010/october2010.css 2010-09-28 09:37:42 UTC (rev 9556) @@ -9,7 +9,7 @@ /* Logged in --------------------------------------*/ .logged-in #navigation { - background: #102446 url(/img/reskining/october2010/october2010-horizon-bg.jpg) 100% 0 no-repeat; + background: #102446 url(/img/reskining/october2010/october2010-horizon-bg.jpg?v=1) 100% 0 no-repeat; } .logged-in #Logo { top: 10px; @@ -26,14 +26,14 @@ --------------------------------------*/ .logged-out #navigation { z-index: auto; - background: #102446 url(/img/reskining/october2010/october2010-horizon-unlogged-bg.jpg) 0 0 no-repeat; + background: #102446 url(/img/reskining/october2010/october2010-horizon-unlogged-bg.jpg?v=1) 0 0 no-repeat; } /* Lanzelot --------------------------------------*/ #header { - background:#102446 url(/img/reskining/october2010/october2010-lanz.jpg) 0 100% no-repeat; + background:#102446 url(/img/reskining/october2010/october2010-lanz.jpg?v=1) 0 100% no-repeat; } #header .logo, #header .logo A, @@ -70,11 +70,11 @@ #header .searchbar .tabs .cur, #header .themes .cur { - background-image:url(/img/reskining/october2010/october2010-l.gif); + background-image:url(/img/reskining/october2010/october2010-l.gif?v=1); } #header .searchbar .tabs .cur LABEL, #header .themes .cur SPAN { - background-image:url(/img/reskining/october2010/october2010-r.gif); + background-image:url(/img/reskining/october2010/october2010-r.gif?v=1); } #header .themes .submenu SPAN.pic-count { background:none;