vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r10065: LJSUP-7884: 23 feb header

Committer: vsukhanov
LJSUP-7884: 23 feb header
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-02-17 09:45:30 UTC (rev 10064)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-02-17 09:59:15 UTC (rev 10065)
@@ -44,22 +44,22 @@
     return 1;
 }
 
-
-sub _st_v_2011_header { ## St. Valentine day 2011
+sub _23_feb_2011_header { ## 23 Feb, Russia
     my $params = shift;
     my $time = time;
-    return unless (1297630800 < $time and $time < 1297717200); ## between 14-02-2011 00:00:00 MSK and 15-02-2011 00:00:00 MSK
+    return unless (1298322000 < $time and $time < 1298494800); ## between 22-02-2011 00:00:00 MSK and 24-02-2011 00:00:00 MSK
     return unless LJ::SUP->is_remote_sup();
-    LJ::need_res("stc/reskining/2011/stvd/header.css");
+    LJ::need_res("stc/reskining/2011/february/header.css");
     return 1;
 
 }
 
+
 LJ::register_hook("service_page_reskining", sub {
     my $params = shift || {};
 
-    ## Only for 14 Feb 2011
-    return if _st_v_2011_header($params);
+    ## Only for 22-23 Feb 2011
+    return if _23_feb_2011_header($params);
     
     LJ::need_res("stc/reskining/2011/january/header.css");
     my $text = LJ::Lang::ml('reskining.january2011');

Tags: ljcom, pm, vadvs
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