alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r10483: LJSUP-8753: May header for non-cyr users

Committer: afedorov
LJSUP-8753: May header for non-cyr users

U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-05-05 07:17:13 UTC (rev 10482)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-05-05 08:50:46 UTC (rev 10483)
@@ -57,10 +57,10 @@
     }
    
     if (!$is_sup) {
-    ## LJSUP-8364: April header US
-        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
+    ## LJSUP-8753: May header US
+        LJ::need_res("stc/reskining/2011/may/noncyr/header.css");
+        my $text = LJ::Lang::ml('reskining.may2011.noncyr');
+        LJ::CleanHTML::clean(\$text, { allow => [ 'a' ] }); ## to expand <lj-user> tags and to add <a> tags
         return qq[<dl class="b-reskining-about"><dt></dt><dd>$text</dd></dl>]; 
     } else {
     ## LJSUP-8471: April header for cyr users

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