Committer: egeraskin
LJSUP-14068: Main page branding for Cloud AtlasU 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"> </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"> </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 ##