alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r21204: LJSUP-11289: Adjust 'top commenters' wid...

Committer: afedorov
LJSUP-11289: Adjust 'top commenters' widget for anythingdiz community

U   trunk/cgi-bin/LJ/Widget/TopUsers.pm
Modified: trunk/cgi-bin/LJ/Widget/TopUsers.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/TopUsers.pm	2012-02-16 13:52:18 UTC (rev 21203)
+++ trunk/cgi-bin/LJ/Widget/TopUsers.pm	2012-02-16 14:50:55 UTC (rev 21204)
@@ -18,7 +18,7 @@
 my %debug_data = (
     'ontd_authors'      => '[{"count":"2","userid":"3"},{"count":"1","userid":"4"}]',
     'ontd_commenters'   => '[{"count":"276","userid":"2"},{"count":"170","userid":"3"},{"count":"139","userid":"4"},{"count":"124","userid":"5"},{"count":"123","userid":"6"},{"count":"120","userid":"6"}]',
-    'adisney_comm' => '[{"count":"2","userid":"3"},{"count":"1","userid":"4"}]',
+    'adisney_comm'      => '[{"count":"2","userid":"3"},{"count":"1","userid":"4"}]',
 
 );
 
@@ -26,7 +26,7 @@
     %keys = (
         #'ontd_authors'      => { title => "widget.topusers.top5posters.title",   order => 1, data => [] domain => 'ontd' },
         'ontd_commenters' => { title => "widget.topusers.top5commenters.title", order => 2, data => [], domain => 'hmp_ontd' },
-        'adisney_comm'    => { title => "widget.topusers.top5commenters.title", order => 3, data => [], domain => 'anythingdisney' },
+        'adisney_comm'    => { title => "widget.topusers.top5commenters.title", order => 3, data => [], domain => 'anythingdiz' },
     );
 
     foreach my $key (keys %keys) {
@@ -86,7 +86,7 @@
                grep { $keys{$_}->{'domain'} eq $domain }
                keys %keys;
 
-    $ret .= sprintf '<div class=\'w-topcommenters %s\'>', $domain eq 'anythingdisney'? '' : 'w-ontd';
+    $ret .= sprintf '<div class=\'w-topcommenters %s\'>', $domain eq 'anythingdiz'? '' : 'w-ontd';
     $ret .= "<div class='w-head'>";
     $ret .= "<h2><span class='w-head-in'>Top commenters</span></h2>";
     $ret .= "<i class='w-head-corner'></i>";

Tags: afedorov, livejournal, 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