vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r9909: LJSUP-7710: January 2011 Header

Committer: vad
LJSUP-7710: January 2011 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-01-13 10:51:04 UTC (rev 9908)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-01-13 10:52:11 UTC (rev 9909)
@@ -46,27 +46,11 @@
 
 LJ::register_hook("service_page_reskining", sub {
     my $params = shift || {};
-   
-    if (LJ::SUP->is_remote_sup) {
-        my $time        = time;
-
-        # timestamps here are MSK
-        my $dec_27_2010 = 1293397200;
-        my $jan_11_2011 = 1294693200;
-
-        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");
-        }
-
-        return '';
-    } else {
-        LJ::need_res("stc/reskining/december2010/noncyr/december2010.css");
-        my $text = LJ::Lang::ml('reskining.december2010');
-        LJ::CleanHTML::clean(\$text); ## to expand <lj-user> tags 
-        return qq[<dl class="b-reskining-about"><dt></dt><dd>$text</dd></dl>];
-    }
+    
+    LJ::need_res("stc/reskining/2011/january/header.css");
+    my $text = LJ::Lang::ml('reskining.january2011');
+    LJ::CleanHTML::clean(\$text); ## to expand <lj-user> tags 
+    return qq[<dl class="b-reskining-about"><dt></dt><dd>$text</dd></dl>];
 });
 
 

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