mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge remote-tracking branch 'sadu/ticket/10438' into develop
* sadu/ticket/10438: [ticket/10438] Alligning the Smileys on the same line as the text.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -713,3 +713,7 @@ p.rules a {
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.smilies {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
Reference in New Issue
Block a user