aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-08-21 19:41:28 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-08-21 19:41:28 +0000
commitecabf09f953249634e0b35090263ef9cbffa8140 (patch)
treeb84f44ad8a40eda77c299c3efb0472e9ca7e7c6f /phpBB/includes/functions.php
parent37818e4c9d3fa140705d1022724c901db356933d (diff)
downloadforums-ecabf09f953249634e0b35090263ef9cbffa8140.tar
forums-ecabf09f953249634e0b35090263ef9cbffa8140.tar.gz
forums-ecabf09f953249634e0b35090263ef9cbffa8140.tar.bz2
forums-ecabf09f953249634e0b35090263ef9cbffa8140.tar.xz
forums-ecabf09f953249634e0b35090263ef9cbffa8140.zip
Added border=0 as suggested to remove borders around linked smilies
git-svn-id: file:///svn/phpbb/trunk@913 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 5d37cc724a..abe592a100 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -242,7 +242,7 @@ function init_userprefs($userdata)
}
else
{
- $theme = setuptheme($board_config['override_user_themes']);
+ $theme = setuptheme($board_config['default_theme']);
}
if( $userdata['user_id'] != ANONYMOUS )
@@ -793,7 +793,7 @@ function smilies_pass($message)
for($i = 0; $i < count($smilies); $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)