Committer: sbelyaev
LJSUP-11319: Create VIDEO block for home pageU trunk/bin/upgrading/en_LJ.dat U trunk/cgi-bin/LJ/Widget/HomepageRU.pm U trunk/templates/Homepage/index_ru.tmpl
Modified: trunk/bin/upgrading/en_LJ.dat =================================================================== --- trunk/bin/upgrading/en_LJ.dat 2012-02-21 13:54:14 UTC (rev 11506) +++ trunk/bin/upgrading/en_LJ.dat 2012-02-21 14:45:05 UTC (rev 11507) @@ -13720,6 +13720,8 @@ widget.featureshowcase.title=LiveJournal tips widget.featureshowcase.also=Also check out +widget.videoforhomepage.title=Today Video + widget.msmessengerregister.msn_accept|staleness=1 widget.msmessengerregister.msn_accept=I accept <a href="http://g.msn.com/0TO_/enus">Microsoft service agreement</a> and <a href="http://g.msn.com/2privacy/enus">privacy statement</a>. I agree to receive e-mail from Windows Live, Bing, and MSN with service updates, special offers, and survey invitations. I understand that I can unsubscribe at any time. Modified: trunk/cgi-bin/LJ/Widget/HomepageRU.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/HomepageRU.pm 2012-02-21 13:54:14 UTC (rev 11506) +++ trunk/cgi-bin/LJ/Widget/HomepageRU.pm 2012-02-21 14:45:05 UTC (rev 11507) @@ -144,6 +144,9 @@ ## Strings $result{string_join_lj_url} = LJ::run_hook('construct_adcall', orient => "App-Join-Livejournal"); + # Vide For Home Page + $result{widget_video_for_home_page} = LJ::Widget::VideoForHomePage->render( tags => 'cyr_video' ); + return %result; } Modified: trunk/templates/Homepage/index_ru.tmpl =================================================================== --- trunk/templates/Homepage/index_ru.tmpl 2012-02-21 13:54:14 UTC (rev 11506) +++ trunk/templates/Homepage/index_ru.tmpl 2012-02-21 14:45:05 UTC (rev 11507) @@ -9,6 +9,7 @@ <div class="homepage-loggedin pkg" style="padding-right: 320px;padding-left:0px;"> <div style="float: left; position: relative; width: 100%;"> + <tmpl_var widget_video_for_home_page> <tmpl_var widget_sup1millionpromo> <div class="homepage-account appwidget pkg b-qotd">