holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r21081: LJSUP-10988: Add position and social cap...

Committer: akanashin
LJSUP-10988: Add position and social capital to user profile
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-02-03 08:38:31 UTC (rev 21080)
+++ trunk/htdocs/userinfo.bml	2012-02-03 08:45:23 UTC (rev 21081)
@@ -667,7 +667,7 @@
             if ($position->{result}->{position} < 2000) {
                 $body .= "<p class='details-rating'><img src='$LJ::IMGPREFIX/profile_icons/diagram.png'/> " . 
                          LJ::Lang::ml('ljcom.userinfo.account_rating', { rating_place => LJ::commafy(++$position->{result}->{position}), 
-                                                                         url_user_rating => $LJ::SITEROOT."/ratings/" . $u->journaltype eq 'C' ? 'community' : 'users', 
+                                                                         url_user_rating => $LJ::SITEROOT . "/ratings/" . ($u->journaltype eq 'C' ? 'community' : 'users'), 
                                                                          soc_capital => LJ::commafy(int($position->{result}->{value}/1000)),}) . 
                         "<a href='http://www.livejournal.com/admin/faq/faqedit.bml?id=359'> " . LJ::help_icon_html("profile_faq") . "</a>" .
                         "</p>";

Tags: akanashin, bml, holyandrew, livejournal
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