diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-24 18:11:20 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-24 18:11:20 +0000 |
| commit | 9be9a6602b6c066e84bbe34598765defef353828 (patch) | |
| tree | c802d50ab29dc1cd230245011f0a515c012c262e /phpBB/privmsg.php | |
| parent | f97b9ae517c1b4ad3d8776aa993dff383f85f132 (diff) | |
| download | forums-9be9a6602b6c066e84bbe34598765defef353828.tar forums-9be9a6602b6c066e84bbe34598765defef353828.tar.gz forums-9be9a6602b6c066e84bbe34598765defef353828.tar.bz2 forums-9be9a6602b6c066e84bbe34598765defef353828.tar.xz forums-9be9a6602b6c066e84bbe34598765defef353828.zip | |
Altered way ICQ overlay is done, uses JavaScript ... don't want this generated within the source code, fixed website issue in profile
git-svn-id: file:///svn/phpbb/trunk@1708 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
| -rw-r--r-- | phpBB/privmsg.php | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index e9db673a7c..e816b33796 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -468,21 +468,7 @@ else if( $mode == "read" ) if( $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>"; - - // - // This cannot stay like this, it needs a 'proper' solution, eg a separate - // template for overlaying the ICQ icon, or we just do away with the icq status - // display (which is after all somewhat a pain in the rear :D - // - if( $theme['template_name'] == "subSilver" ) - { - $icq_add_img = '<table width="59" border="0" cellspacing="0" cellpadding="0"><tr><td nowrap="nowrap" class="icqback"><img src="images/spacer.gif" width="3" height="18" alt = "">' . $icq_status_img . '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $privmsg['user_icq'] . '"><img src="images/spacer.gif" width="35" height="18" border="0" alt="' . $lang['ICQ'] . '" /></a></td></tr></table>'; - $icq_status_img = ""; - } - else - { - $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_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>"; } else { @@ -571,6 +557,8 @@ else if( $mode == "read" ) "SEARCH_IMG" => $search_img, "EMAIL_IMG" => $email_img, "WWW_IMG" => $www_img, + "ICQ" => ( $privmsg['user_icq'] ) ? $privmsg['user_icq'] : " ", + "ICQ_IMG" => ( $privmsg['user_icq'] ) ? $images['icon_icq'] : " ", "ICQ_STATUS_IMG" => $icq_status_img, "ICQ_ADD_IMG" => $icq_add_img, "AIM_IMG" => $aim_img, |
