diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-09-26 22:12:38 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-09-26 22:12:38 +0000 |
| commit | 53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83 (patch) | |
| tree | 6a34e197ea05725e46aae43e3c8a1aea23f5362e /phpBB/profile.php | |
| parent | 33d7444cc45923f7358426d2a6e086031447041c (diff) | |
| download | forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar.gz forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar.bz2 forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar.xz forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.zip | |
topic watch/forum/topic read now cause a message to be displayed, changed profile ICQ for subSilver, various other changes
git-svn-id: file:///svn/phpbb/trunk@1093 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
| -rw-r--r-- | phpBB/profile.php | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index 63d78d4dfb..cebec6366f 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -259,9 +259,22 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) if( !empty($profiledata['user_icq']) ) { - $icq_status_img = "<a href=\"http://wwp.icq.com/" . $profiledata['user_icq'] . "#pager\"><img src=\"http://online.mirabilis.com/scripts/online.dll?icq=" . $profiledata['user_icq'] . "&img=5\" border=\"0\" alt=\"\" /></a>"; + $icq_status_img = "<a href=\"http://wwp.icq.com/" . $profiledata['user_icq'] . "#pager\"><img src=\"http://web.icq.com/whitepages/online?icq=" . $profiledata['user_icq'] . "&img=5\" border=\"0\" alt=\"\" /></a>"; - $icq_add_img = "<a href=\"http://wwp.icq.com/scripts/search.dll?to=" . $profiledata['user_icq'] . "\"><img src=\"" . $images['icon_icq'] . "\" alt=\"" . $lang['ICQ'] . "\" 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=' . $profiledata['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=" . $profiledata['user_icq'] . "\"><img src=\"" . $images['icon_icq'] . "\" alt=\"" . $lang['ICQ'] . "\" border=\"0\" /></a>"; + } } else { |
