holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22502: LJSUP-13039: olympics2012.lenta.ru heade...

Committer: akanashin
LJSUP-13039: olympics2012.lenta.ru header
U   trunk/cgi-bin/LJ/SiteScheme.pm
Modified: trunk/cgi-bin/LJ/SiteScheme.pm
===================================================================
--- trunk/cgi-bin/LJ/SiteScheme.pm	2012-07-26 09:06:40 UTC (rev 22501)
+++ trunk/cgi-bin/LJ/SiteScheme.pm	2012-07-26 09:32:16 UTC (rev 22502)
@@ -359,6 +359,12 @@
     ## see also cgi-bin/LJ/Hooks/Homepage.pm
     my $branding = LJ::run_hook("service_page_branding", { scheme => $class->code }); 
 
+    if ($remote_is_sup && lentaru_branding) {
+        LJ::need_res('js/jquery/jquery.lj.lentaRu.js');
+        LJ::need_res('stc/widgets/flags.css');
+        LJ::need_res('stc/widgets/olympics.css');
+    }
+
     return {
         'pretitle'           => $args->{'pretitle'},
         'title'              => $args->{'title'},

Tags: akanashin, holyandrew, livejournal, 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