1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-11 00:40:56 +02:00

Ok last bit with the smilies :)

git-svn-id: file:///svn/phpbb/trunk@875 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
the_systech
2001-08-14 17:49:12 +00:00
parent 56ca4e53d7
commit 7503c85590

@ -788,7 +788,7 @@ function smilies_pass($message)
for($i = 0; $i < count($smilies); $i++)
{
$orig[] = "'\B" . preg_quote($smilies[$i]['code']) . "\B'sxi";
$repl[] = '\1<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['smile_url'] . '">\2';
$repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['smile_url'] . '">';
}
if($i > 0)