mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Found an issue with remote avatars I thought I'd solved ages ago ... hhmmm
git-svn-id: file:///svn/phpbb/trunk@1056 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3cbbd612c9
commit
6c10063d31
1 changed files with 8 additions and 1 deletions
|
@ -231,7 +231,14 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
|
||||||
$email_img = "";
|
$email_img = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$avatar_img = ( !empty($profiledata['user_avatar']) ) ? "<img src=\"" . $board_config['avatar_path'] . "/" . stripslashes($profiledata['user_avatar']) . "\" border=\"0\" alt=\"\" />" : " ";
|
if($profiledata['user_avatar'] != "" && $profiledata['user_id'] != ANONYMOUS)
|
||||||
|
{
|
||||||
|
$avatar_img = (eregi("http", $profiledata['user_avatar']) && $board_config['allow_avatar_remote']) ? "<img src=\"" . $profiledata['user_avatar'] . "\">" : "<img src=\"" . $board_config['avatar_path'] . "/" . $profiledata['user_avatar'] . "\" alt=\"\" />";;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$avatar_img = " ";
|
||||||
|
}
|
||||||
|
|
||||||
if( !empty($profiledata['user_icq']) )
|
if( !empty($profiledata['user_icq']) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue