aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorShibu Lijack <shibulijack@gmail.com>2012-04-10 21:46:14 +0530
committerShibu Lijack <shibulijack@gmail.com>2012-04-10 21:46:14 +0530
commitfd55c8664a046258c12e8a207d44340010155627 (patch)
tree1a520b8965b88f39cee72e5ce8bb093fb9c38d35 /phpBB/includes/functions_content.php
parentdaee25340381d4b97119be298a9fc2671e681bb3 (diff)
parent41e03164c19751624968435f31f1b63367cd4eb2 (diff)
downloadforums-fd55c8664a046258c12e8a207d44340010155627.tar
forums-fd55c8664a046258c12e8a207d44340010155627.tar.gz
forums-fd55c8664a046258c12e8a207d44340010155627.tar.bz2
forums-fd55c8664a046258c12e8a207d44340010155627.tar.xz
forums-fd55c8664a046258c12e8a207d44340010155627.zip
Merge remote-tracking branch 'upstream/develop' into ticket/10734
Conflicts: phpBB/styles/prosilver/theme/tweaks.css
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index f2faf20f43..6b2ee98d7a 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -739,7 +739,7 @@ function smiley_text($text, $force_option = false)
else
{
$root_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? generate_board_url() . '/' : $phpbb_root_path;
- return preg_replace('#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/(.*?) \/><!\-\- s\1 \-\->#', '<img src="' . $root_path . $config['smilies_path'] . '/\2 />', $text);
+ return preg_replace('#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/(.*?) \/><!\-\- s\1 \-\->#', '<img class="smilies" src="' . $root_path . $config['smilies_path'] . '/\2 />', $text);
}
}