Committer: egeraskin
LJSUP-12471: Megafon Virtual Card branding of main pageU trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-06-05 12:23:26 UTC (rev 12064) +++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-06-05 12:36:58 UTC (rev 12065) @@ -62,9 +62,9 @@ ## only Cyr users return unless LJ::SUP->is_remote_sup; - ## from 2012-06-04 00:00:00 MSK till 2012-06-10 23:59:00 MSK - my $time = time(); - return if ($time < 1338753600 || $time > 1339358340); ## uncomment this line before commit! + ## from 2012-06-11 00:00:00 MSK till 2012-06-17 23:59:00 MSK + ##my $time = time(); + ##return if ($time < 1339358400 || $time > 1339963140); ## uncomment this line before commit! return 1; } @@ -77,10 +77,10 @@ return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=341892&pid=843545&bid=1801969&bn=1801969&'. $rnd . - '=534093178" target="_blank" class="branding-trava-link"> </a>' . + '=534093178" target="_blank" class="megafon-vc-link"> </a>' . '<img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=341892&pid=843545&bid=1801969&bn=1801969&' . $rnd . - '=534093178" width="1" height="1" border="0" class="branding-trava-pixel" />'; + '=534093178" width="1" height="1" border="0" class="megafon-vc-pixel" />'; } }); @@ -89,7 +89,7 @@ my $params = shift || {}; if (LJ::_is_branding_active()) { - LJ::need_res("stc/reskining/2012/june/trava/trava.css"); + LJ::need_res("stc/reskining/2012/june/megafon/virtual-card.css"); } ##