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

[ljcom] r9839: LJSUP-7576: December header 2010 cyr

Committer: gariev
LJSUP-7576: December header 2010 cyr
LJSUP-7575: December header 2010 non-cyr...

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-14 07:20:39 UTC (rev 9838)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2010-12-14 07:51:59 UTC (rev 9839)
@@ -47,14 +47,15 @@
 LJ::register_hook("service_page_reskining", sub {
     my $params = shift || {};
    
-   if (1) {
-        ## November 2010: for all users, no start/end dates 
-        LJ::need_res("stc/reskining/november2010/november2010.css");
-        my $text = LJ::Lang::ml('reskining.november2010');
+    if (LJ::SUP->is_remote_sup) {
+        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>];
     }
-    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