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

[ljcom] r11402: LJSUP-10933: Non cyr entries ratings for...

Committer: dnikolaev
LJSUP-10933: Non cyr entries ratings for non cyr home page

U   trunk/cgi-bin/LJ/Widget/HomepageEN.pm
U   trunk/cgi-bin/LJ/Widget/HomepageRU.pm
Modified: trunk/cgi-bin/LJ/Widget/HomepageEN.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-02-03 10:55:15 UTC (rev 11401)
+++ trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-02-03 11:04:32 UTC (rev 11402)
@@ -118,7 +118,7 @@
         LJ::Widget::ExtBlock->render(id=>'homepage.gazeta') : '';
 
     ## Ratings
-    $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1, rating_country => $GET->{rating} }, '/ratings/posts/', { homepage => 1 });
+    $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1, rating_country => $GET->{rating}, length => 25 }, '/ratings/posts/', { homepage => 1 });
 
 
     ## Widget SUP1MillionPromo

Modified: trunk/cgi-bin/LJ/Widget/HomepageRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageRU.pm	2012-02-03 10:55:15 UTC (rev 11401)
+++ trunk/cgi-bin/LJ/Widget/HomepageRU.pm	2012-02-03 11:04:32 UTC (rev 11402)
@@ -76,7 +76,7 @@
 
     ## Ratings
     if (LJ::is_enabled('personal_stats_ratings')) {
-        $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1, rating_country => $GET->{rating} }, '/ratings/posts/', { homepage => 1 });
+        $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1, rating_country => $GET->{rating}, length => 20 }, '/ratings/posts/', { homepage => 1 });
     }
 
     ## Widget SUP1MillionPromo

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