Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r10303: LJSUP-8364: April header US

Committer: gariev
LJSUP-8364: April header US

U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-03-25 09:09:29 UTC (rev 10302)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-03-25 09:23:25 UTC (rev 10303)
@@ -71,7 +71,15 @@
             return qq[<dl class="b-reskining-about"><dt></dt><dd>$text</dd></dl>];
         }
     }
-        
+
+    ## LJSUP-8364: April header US
+    if (!$is_sup) {
+        LJ::need_res("stc/reskining/2011/april/noncyr/header.css");
+        my $text = LJ::Lang::ml('reskining.april2011');
+        LJ::CleanHTML::clean(\$text); ## to expand <lj-user> tags
+        return qq[<dl class="b-reskining-about"><dt></dt><dd>$text</dd></dl>]; 
+    }
+ 
     return '';
 });
 

Tags: gariev, 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