diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-19 22:04:29 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-19 22:04:29 +0000 |
commit | 5778b0395c3af92d31aea0a3b8ba0e69aa8b90f3 (patch) | |
tree | dab1b6acf23be64644a8aad18befbfc5d05a2058 | |
parent | d2dff5d51fafead0781a77af91499d1b689efcfa (diff) | |
download | forums-5778b0395c3af92d31aea0a3b8ba0e69aa8b90f3.tar forums-5778b0395c3af92d31aea0a3b8ba0e69aa8b90f3.tar.gz forums-5778b0395c3af92d31aea0a3b8ba0e69aa8b90f3.tar.bz2 forums-5778b0395c3af92d31aea0a3b8ba0e69aa8b90f3.tar.xz forums-5778b0395c3af92d31aea0a3b8ba0e69aa8b90f3.zip |
Fix bug #520171, ICQ image missing
git-svn-id: file:///svn/phpbb/trunk@2197 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/privmsg.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 2d13e494ea..422436047e 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -467,10 +467,10 @@ else if( $mode == "read" ) $www_img = ( $privmsg['user_website']) ? '<a href="' .$privmsg['user_website'] . '" target="_userwww"><img src="' .$images['icon_www'] . '" alt="' .$lang['Visit_website'] . '" border="0" /></a>' : ''; - if( $privmsg['user_icq'] ) + if( !empty($privmsg['user_icq']) ) { - $icq_status_img = '<a href="http://wwp.icq.com/"' . $privmsg['user_icq'] . '"#pager"><img src="http://web.icq.com/whitepages/online?icq="' . $privmsg['user_icq'] . '"&img=5" width="18" height="18" border="0" /></a>'; - $icq_add_img = '<a href="http://wwp.icq.com/scripts/search.dll?to="' . $privmsg['user_icq'] . '"><img src="' .$images['icon_icq'] . '" alt="' .$lang['ICQ'] . '" border="0" /></a>'; + $icq_status_img = '<a href="http://wwp.icq.com/' . $privmsg['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $privmsg['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>'; + $icq_add_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $privmsg['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>'; } else { @@ -478,11 +478,11 @@ else if( $mode == "read" ) $icq_add_img = ''; } - $aim_img = ($privmsg['user_aim']) ? "<a href=\"aim:goim?screenname=" . $privmsg['user_aim'] . "&message=Hello+Are+you+there?\"><img src=\"" . $images['icon_aim'] . "\" border=\"0\" alt=\"" . $lang['AIM'] . "\" /></a>" : ""; + $aim_img = ( $privmsg['user_aim'] ) ? "<a href=\"aim:goim?screenname=" . $privmsg['user_aim'] . "&message=Hello+Are+you+there?\"><img src=\"" . $images['icon_aim'] . "\" border=\"0\" alt=\"" . $lang['AIM'] . "\" /></a>" : ""; - $msn_img = ($privmsg['user_msnm']) ? "<a href=\"profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id_from\"><img src=\"" . $images['icon_msnm'] . "\" border=\"0\" alt=\"" . $lang['MSNM'] . "\" /></a>" : ""; + $msn_img = ( $privmsg['user_msnm'] ) ? "<a href=\"profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id_from\"><img src=\"" . $images['icon_msnm'] . "\" border=\"0\" alt=\"" . $lang['MSNM'] . "\" /></a>" : ""; - $yim_img = ($privmsg['user_yim']) ? "<a href=\"http://edit.yahoo.com/config/send_webmesg?.target=" . $privmsg['user_yim'] . "&.src=pg\"><img src=\"" . $images['icon_yim'] . "\" border=\"0\" alt=\"" . $lang['YIM'] . "\" /></a>" : ""; + $yim_img = ( $privmsg['user_yim'] ) ? "<a href=\"http://edit.yahoo.com/config/send_webmesg?.target=" . $privmsg['user_yim'] . "&.src=pg\"><img src=\"" . $images['icon_yim'] . "\" border=\"0\" alt=\"" . $lang['YIM'] . "\" /></a>" : ""; $search_img = "<a href=\"" . append_sid("search.$phpEx?search_author=" . urlencode($username_from) . "&showresults=topics") . "\"><img src=\"" . $images['icon_search'] . "\" border=\"0\" /></a>"; |