mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Added border=0 as suggested to remove borders around linked smilies
git-svn-id: file:///svn/phpbb/trunk@913 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
37818e4c9d
commit
ecabf09f95
1 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ function init_userprefs($userdata)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$theme = setuptheme($board_config['override_user_themes']);
|
$theme = setuptheme($board_config['default_theme']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if( $userdata['user_id'] != ANONYMOUS )
|
if( $userdata['user_id'] != ANONYMOUS )
|
||||||
|
@ -793,7 +793,7 @@ function smilies_pass($message)
|
||||||
for($i = 0; $i < count($smilies); $i++)
|
for($i = 0; $i < count($smilies); $i++)
|
||||||
{
|
{
|
||||||
$orig[] = "'(?<=.\\W|\\W.|^\\W)" . preg_quote($smilies[$i]['code']) . "(?=.\\W|\\W.|\\W$)'i";
|
$orig[] = "'(?<=.\\W|\\W.|^\\W)" . preg_quote($smilies[$i]['code']) . "(?=.\\W|\\W.|\\W$)'i";
|
||||||
$repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['smile_url'] . '">';
|
$repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['smile_url'] . '" border="0">';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($i > 0)
|
if($i > 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue