Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r20892: LJSUP-10947: Userpics to topentries.bml ...

Committer: anazarov
LJSUP-10947: Userpics to topentries.bml for anythingdisney widget
U   trunk/cgi-bin/LJ/Widget/TopEntries.pm
Modified: trunk/cgi-bin/LJ/Widget/TopEntries.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/TopEntries.pm	2012-01-12 14:26:17 UTC (rev 20891)
+++ trunk/cgi-bin/LJ/Widget/TopEntries.pm	2012-01-13 07:12:43 UTC (rev 20892)
@@ -151,7 +151,7 @@
                     : $class->ml('widget.officialjournals.nosubject');
 
         ## Spotlight row
-        $ret .= qq(<li><dl><dd><h3 class="b-posts-head"><a href="$post->{url}">$subj</a></h3><p class="b-posts-data"><span class="i-posts-user">$post->{poster}$comments</p></dd></dl></li>);
+        $ret .= qq(<li><dl><dt><img src="$post->{userpic}" /></dt><dd><h3 class="b-posts-head"><a href="$post->{url}">$subj</a></h3><p class="b-posts-data"><span class="i-posts-user">$post->{poster}$comments</p></dd></dl></li>);
     }
 
     $ret .= '</ul></div></div>';

Tags: anazarov, livejournal, nfokz, pm
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