Permalink
Browse files

Bug #5643 - add Yahoo online status to user profile; merged from MOOD…

…LE_16_STABLE
  • Loading branch information...
1 parent 82e6ea7 commit 165a7502f8c8429c770e469f91c1889c7f5bda71 skodak committed Jun 1, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/view.php
View
@@ -230,7 +230,7 @@
' height="16" width="16" /></a>');
}
if ($user->yahoo && !isset($hiddenfields['yahooid'])) {
- print_row(get_string('yahooid').':', '<a href="http://edit.yahoo.com/config/send_webmesg?.target='.s($user->yahoo).'&amp;.src=pg">'.s($user->yahoo).'</a>');
+ print_row(get_string('yahooid').':', '<a href="http://edit.yahoo.com/config/send_webmesg?.target='.urlencode($user->yahoo).'&amp;.src=pg">'.s($user->yahoo)." <img border=0 src=\"http://opi.yahoo.com/online?u=".urlencode($user->yahoo)."&m=g&t=0\" width=\"12\" height=\"12\" alt=\"\"></a>");
}
if ($user->aim && !isset($hiddenfields['aimid'])) {
print_row(get_string('aimid').':', '<a href="aim:goim?screenname='.s($user->aim).'">'.s($user->aim).'</a>');

0 comments on commit 165a750

Please sign in to comment.