alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r11077: LJSUP-9983: Need to implement Ukranian r...

Committer: afedorov
LJSUP-9983: Need to implement Ukranian regional ratings

U   trunk/bin/upgrading/proplists-local.dat
U   trunk/cgi-bin/LJ/Widget/HomepageRU.pm
Modified: trunk/bin/upgrading/proplists-local.dat
===================================================================
--- trunk/bin/upgrading/proplists-local.dat	2011-10-07 15:45:23 UTC (rev 11076)
+++ trunk/bin/upgrading/proplists-local.dat	2011-10-10 11:24:50 UTC (rev 11077)
@@ -822,3 +822,9 @@
   multihomed: 0
   cldversion: 8
 
+userproplist.view_ua_ratings:
+  cldversion: 8
+  datatype: bool
+  prettyname: Enable ratings for Ukraine 
+  des: Enable Ukraine or Default (Russian) ratings.
+  indexed: 0

Modified: trunk/cgi-bin/LJ/Widget/HomepageRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageRU.pm	2011-10-07 15:45:23 UTC (rev 11076)
+++ trunk/cgi-bin/LJ/Widget/HomepageRU.pm	2011-10-10 11:24:50 UTC (rev 11077)
@@ -77,7 +77,7 @@
 
     ## Ratings
     if (LJ::is_enabled('personal_stats_ratings')) {
-        $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1 }, '/ratings/posts/');
+        $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1, rating_country => $GET->{rating} }, '/ratings/posts/');
     }
 
     ## Widget SUP1MillionPromo

Tags: afedorov, dat, ljcom, pm, red_alf
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