From 9be9a6602b6c066e84bbe34598765defef353828 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 24 Dec 2001 18:11:20 +0000 Subject: 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 --- phpBB/viewtopic.php | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 84d3cc94c9..91e8cdf692 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -855,21 +855,7 @@ for($i = 0; $i < $total_posts; $i++) if( !empty($postrow[$i]['user_icq']) ) { $icq_status_img = ""; - - // - // 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 = '
' . $icq_status_img . '' . $lang['ICQ'] . '
'; - $icq_status_img = ""; - } - else - { - $icq_add_img = "\"""; - } + $icq_add_img = "\"""; } else { @@ -1076,6 +1062,8 @@ for($i = 0; $i < $total_posts; $i++) "PM_IMG" => $pm_img, "EMAIL_IMG" => $email_img, "WWW_IMG" => $www_img, + "ICQ" => ( !empty($postrow[$i]['user_icq']) ) ? $postrow[$i]['user_icq'] : " ", + "ICQ_IMG" => ( !empty($postrow[$i]['user_icq']) ) ? $images['icon_icq'] : " ", "ICQ_STATUS_IMG" => $icq_status_img, "ICQ_ADD_IMG" => $icq_add_img, "AIM_IMG" => $aim_img, -- cgit v1.2.1