Committer: anazarov
LJSUP-13386: ClientSide: Promo widgets refactoringU trunk/cgi-bin/LJ/Widget/HomepageEN.pm U trunk/cgi-bin/LJ/Widget/HomepageRU.pm U trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Widget/HomepageEN.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/HomepageEN.pm 2012-08-23 13:00:45 UTC (rev 12535) +++ trunk/cgi-bin/LJ/Widget/HomepageEN.pm 2012-08-23 14:38:59 UTC (rev 12536) @@ -16,6 +16,7 @@ LJ::need_res('stc/lj_base.css', 'stc/home.css'); LJ::need_res('stc/home-halloween08.css') if LJ::is_enabled("halloween08_display"); LJ::need_res('stc/statistics/statistics.css') if LJ::is_enabled('personal_stats_ratings'); + LJ::need_res('stc/promo/promo.css'); LJ::need_res({condition => 'IE'}, 'stc/statistics/ie.css') if LJ::is_enabled('personal_stats_ratings'); LJ::need_res('stc/widgets/index-stats.css') unless LJ::is_enabled('personal_stats_ratings'); Modified: trunk/cgi-bin/LJ/Widget/HomepageRU.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/HomepageRU.pm 2012-08-23 13:00:45 UTC (rev 12535) +++ trunk/cgi-bin/LJ/Widget/HomepageRU.pm 2012-08-23 14:38:59 UTC (rev 12536) @@ -20,6 +20,7 @@ LJ::need_res('stc/lj_base.css', 'stc/home.css', 'stc/lanzelot/css/index.bml.sup.css'); LJ::need_res('stc/widgets/index-stats.css') unless LJ::is_enabled('personal_stats_ratings'); LJ::need_res('stc/statistics/statistics.css') if LJ::is_enabled('personal_stats_ratings'); + LJ::need_res('stc/promo/promo.css'); LJ::need_res({condition => 'IE'}, "stc/lanzelot/css/index.bml.sup.ie.css"); LJ::need_res({condition => 'IE'}, 'stc/statistics/ie.css') if LJ::is_enabled('personal_stats_ratings'); Modified: trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm 2012-08-23 13:00:45 UTC (rev 12535) +++ trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm 2012-08-23 14:38:59 UTC (rev 12536) @@ -36,6 +36,7 @@ LJ::need_string('/shop/selfpromo.bml.confirm.delete.promoted'); LJ::need_string('/shop/selfpromo.bml.confirm.poster.cancel'); + LJ::need_res('stc/promo/promo.css'); my ($promo_regions, $active_region) = LJ::Pay::PromotionSlot->find_available_promo_regions($remote, $country);