aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-20 17:46:29 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-20 17:46:29 +0000
commite5e5db834bc6ad639e1215402fb4d7fd98f9bbc9 (patch)
tree5f1a1506ebcd1b9f9a078ea7b7dde0e774112685 /phpBB/profile.php
parentdc6d590da6e7f1bf39d778e404b4ea2e272e8f71 (diff)
downloadforums-e5e5db834bc6ad639e1215402fb4d7fd98f9bbc9.tar
forums-e5e5db834bc6ad639e1215402fb4d7fd98f9bbc9.tar.gz
forums-e5e5db834bc6ad639e1215402fb4d7fd98f9bbc9.tar.bz2
forums-e5e5db834bc6ad639e1215402fb4d7fd98f9bbc9.tar.xz
forums-e5e5db834bc6ad639e1215402fb4d7fd98f9bbc9.zip
Damn it, damn it, damn it
git-svn-id: file:///svn/phpbb/trunk@711 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index 93066c62f5..2d4c4908b8 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -257,6 +257,8 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
$email_img = $lang['Hidden_email'];
}
+ $avatar_img = ( !empty($profiledata['user_avatar']) ) ? "<img src=\"" . $board_config['avatar_path'] . "/" . stripslashes($profiledata['user_avatar']) . "\" border=\"0\">" : "&nbsp;";
+
if($members[$i]['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\"></a>";
@@ -306,7 +308,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"LOCATION" => ( ($profiledatas['user_from']) ? stripslashes($profiledata['user_from']) : "" ),
"OCCUPATION" => ( ($profiledata['user_occ']) ? stripslashes($profiledata['user_occ']) : "" ),
"INTERESTS" => ( ($profiledata['user_interests']) ? stripslashes($profiledata['user_interests']) : "" ),
- "AVATAR_IMG" => "<img src=\"" . $board_config['avatar_path'] . "/" . stripslashes($profiledata['user_avatar']) . "\" border=\"0\">",
+ "AVATAR_IMG" => $avatar_img,
"L_VIEWING_PROFILE" => $lang['Viewing_profile_of'],
"L_PER_DAY" => $lang['posts_per_day'],