[livejournal] r18681: LJSUP-8206: ONTD top commenters widget, ...
Committer: vad
LJSUP-8206: ONTD top commenters widget, implement standart mark-upU trunk/cgi-bin/LJ/Widget/TopUsers.pm
Modified: trunk/cgi-bin/LJ/Widget/TopUsers.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/TopUsers.pm 2011-03-23 06:15:11 UTC (rev 18680)
+++ trunk/cgi-bin/LJ/Widget/TopUsers.pm 2011-03-23 06:59:53 UTC (rev 18681)
@@ -77,8 +77,12 @@
my @keys = sort { $keys{$a}->{'order'} <=> $keys{$b}->{'order'} } keys %keys;
- # Head of whole widget
- $ret .= "<img src='http://localhostr.com/files/yRmFCoW/topcommenters.gif' alt='Top commenters' /><div id='topcommentersbox'>";
+ $ret .= "<div class='w-topcommenters 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>";
+ $ret .= "</div>";
+ $ret .= "<div class='w-content' id='topcommentersbox'>";
foreach my $key (@keys) {
@@ -101,9 +105,10 @@
}
# Footer of coumn
- $ret .= "</ol><br style='clear: both;' />";
+ $ret .= "</ol>";
}
+ $ret .= "</div>";
# Footer of whole widget
$ret .= "</div>";
