perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[ljcom] r12833: LJSUP-14068: Main page branding for Clou...

Committer: egeraskin
LJSUP-14068: Main page branding for Cloud Atlas
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-10-26 12:31:02 UTC (rev 12832)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-10-26 12:35:20 UTC (rev 12833)
@@ -73,6 +73,13 @@
         my $rnd = int(rand(1_000_000));
         return '<a href="http://shopping-digest.ru/?utm_source=LJ_com&utm_medium=homepage&utm_content=branding-statis&utm_campaign=fed_megafon_sup_spec-anons" target="_blank" class="megafon-link">&nbsp;</a>';
     }
+    
+    # Cloud Atlas
+    # 05 november 00:01 - 11 november 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1352059200 && $time < 1352663940)) { 
+        my $rnd = int(rand(1_000_000));
+        return '<a href="http://sup.adfox.ru/7386/goLink?p1=bjatj&p2=v&p5=bmiru&pr=' . $rnd . '&puid1=&puid2=&puid3=&puid4=&puid5=" target="_blank" class="branding-link">&nbsp;</a><img src="http://sup.adfox.ru/7386/getCode?p1=bjatj&p2=v&pe=b&pfc=myzt&pfb=bmiru&puid1=&puid2=&puid3=&puid4=&puid5=&pr=ejstmcl" width="1" height="1" border="0" class="pixel" />';
+    }
 
 });
 
@@ -90,7 +97,12 @@
     if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1351454400 && $time < 1352059140)) { 
         LJ::need_res("stc/reskining/2012/november/megafon-visa.css"); 
     }
-
+    # Cloud Atlas
+    # 05 november 00:01 - 11 november 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1352059200 && $time < 1352663940)) { 
+        LJ::need_res("stc/reskining/2012/november/atlas.css"); 
+    }
+    
     ##
     ## experimental ServicePageReskinning part 
     ##

Tags: egeraskin, ljcom, perazhog, 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