Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[ljcom] r11542: LJSUP-11177: Add top 10 communitites wid...

Committer: dnikolaev
LJSUP-11177: Add top 10 communitites widget to non cyr home page

U   trunk/cgi-bin/LJ/Widget/HomepageEN.pm
U   trunk/templates/Homepage/index_en.tmpl
Modified: trunk/cgi-bin/LJ/Widget/HomepageEN.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-02-29 12:08:26 UTC (rev 11541)
+++ trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-02-29 12:13:22 UTC (rev 11542)
@@ -120,6 +120,8 @@
     ## Ratings
     $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1, rating_country => $GET->{rating}, length => 25 }, '/ratings/posts/', { homepage => 1 });
 
+    ## Widget RatingTop10
+    $result{widget_ratingtop10_comms} = LJ::Widget::RatingTopJournals->render(what => 'communities', sup => 0);
 
     ## Widget SUP1MillionPromo
     $result{widget_sup1millionpromo} = LJ::Widget::SUP1MillionPromo->render;

Modified: trunk/templates/Homepage/index_en.tmpl
===================================================================
--- trunk/templates/Homepage/index_en.tmpl	2012-02-29 12:08:26 UTC (rev 11541)
+++ trunk/templates/Homepage/index_en.tmpl	2012-02-29 12:13:22 UTC (rev 11542)
@@ -71,6 +71,7 @@
 			<tmpl_var widget_featured_communities>
 			<tmpl_include expr="facebooksearchus">
 			<tmpl_include expr="followusontwitter">
+			<tmpl_var widget_ratingtop10_comms>
 			    
 		</div>	   
     </div><!-- end .homepage-loggedin  -->
@@ -180,6 +181,7 @@
 				<tmpl_var widget_featured_communities>
 				<tmpl_include expr="facebooksearchus">
 	            <tmpl_include expr="followusontwitter">
+				<tmpl_var widget_ratingtop10_comms>
 
             </div><!-- end .l-sidebar -->
 

Tags: dnikolaev, ljcom, pm, tmpl, wildkin
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