1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00
#12791


git-svn-id: file:///svn/phpbb/trunk@7806 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2007-06-28 18:21:08 +00:00
parent f9ea21a083
commit 648de4354a
4 changed files with 24 additions and 2 deletions

View File

@@ -1439,6 +1439,16 @@ function phpbb_avatar_type($type)
return 0;
}
/**
* Just undos the replacing of '<' and '>'
*/
function phpbb_smilie_html_decode($code)
{
$code = str_replace('&lt;', '<', $code);
return str_replace('&gt;', '>', $code);
}
/**
* Transfer avatars, copying the image if it was uploaded
*/