vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r9962: LJSUP-7812: Create header for st.v. day

Committer: vad
LJSUP-7812: Create header for st.v. day
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-28 08:38:41 UTC (rev 9961)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-01-28 09:02:31 UTC (rev 9962)
@@ -47,10 +47,10 @@
 LJ::register_hook("service_page_reskining", sub {
     my $params = shift || {};
     
-    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>];
+    my $time = time;
+    return unless (1297641600 < $time and $time < 1297728000); ## between 14-02-2011 00:00:00 and 15-02-2011 00:00:00
+    return unless LJ::SUP->is_remote_sup();
+    LJ::need_res("stc/reskining/2011/stvd/header.css");
 });
 
 

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