[livejournal] r19145: LJSUP-8892: Form "Select color". Need to...
Committer: dnikolaev
LJSUP-8892: Form "Select color". Need to add variable for username.U trunk/htdocs/friends/add.bml
Modified: trunk/htdocs/friends/add.bml
===================================================================
--- trunk/htdocs/friends/add.bml 2011-05-26 10:54:17 UTC (rev 19144)
+++ trunk/htdocs/friends/add.bml 2011-05-27 00:54:09 UTC (rev 19145)
@@ -338,7 +338,7 @@
$body .= '<div class="b-addfriend-option b-addfriend-colors">';
$body .= '<h3 class="b-addfriend-subhead">' . $ML{'.colors.select.user'} . '</h3>';
- $body .= '<p class="b-addfriend-notice">' . BML::ml('.colors.text', {'user'=>$user}) . '</p>';
+ $body .= '<p class="b-addfriend-notice">' . BML::ml('.colors.text', {'user' => LJ::ljuser($u)}) . '</p>';
$body .= '<p class="i-bubble b-bubble-alert b-bubble-noarrow">' . $ML{'.colors.disclaimer'} . '</p>';
$body .= '<dl class="b-addfriend-showmore b-addfriend-showmore-closed">';
$body .= '<dt class="b-addfriend-showmore-head"><i class="i-addfriend-showmore-arr"></i>' . $ML{'.colors.select'} . '</dt>';
