Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r9861: LJSUP-7630 (New year's header (lj.com, S...

Committer: ailyin
LJSUP-7630 (New year's header (lj.com, SUP))
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2010-12-17 09:36:32 UTC (rev 9860)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2010-12-17 09:59:39 UTC (rev 9861)
@@ -54,10 +54,10 @@
         my $dec_27_2010 = 1293397200;
         my $jan_11_2011 = 1294693200;
 
-        if ( $time < $dec_27_2010 ) {
+        if ( $time > $dec_27_2010 and $time < $jan_11_2011 ) {
+            LJ::need_res("stc/reskining/december2010/cyr/ny2010.css");
+        } else {
             LJ::need_res("stc/reskining/december2010/cyr/december2010.css");
-        } elsif ( $time < $jan_11_2011 ) {
-            LJ::need_res("stc/reskining/december2010/cyr/ny2010.css");
         }
 
         return '';

Tags: andy, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments