Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[ljcom] r10398: LJSUP-8562: Restore controlstrip setting...

Committer: dnikolaev
LJSUP-8562: Restore controlstrip settings at /customize/options.bml

U   trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/ControlStrip.pm	2011-04-19 03:52:41 UTC (rev 10397)
+++ trunk/cgi-bin/LJ/Hooks/ControlStrip.pm	2011-04-19 09:30:19 UTC (rev 10398)
@@ -134,7 +134,11 @@
     }
 
     if ($color) {
-        LJ::need_res("stc/controlstrip-$color.css");
+        if ($LJ::DISABLED{control_strip_new}) {
+            LJ::need_res("stc/controlstrip-${color}.css");
+        } else {
+            LJ::need_res("stc/controlstrip-${color}-new.css");
+        }
         LJ::need_res("stc/controlstrip-${color}-local.css");
     }
 });

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