mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
Merge most changes from 3.0.x branch since the 25th december.
(Captcha changes for refreshing captcha image not included) git-svn-id: file:///svn/phpbb/trunk@9404 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -838,6 +838,12 @@ function display_custom_bbcodes()
|
||||
$i = 0;
|
||||
while ($row = phpbb::$db->sql_fetchrow($result))
|
||||
{
|
||||
// If the helpline is defined within the language file, we will use the localised version, else just use the database entry...
|
||||
if (isset(phpbb::$user->lang[strtoupper($row['bbcode_helpline'])]))
|
||||
{
|
||||
$row['bbcode_helpline'] = phpbb::$user->lang[strtoupper($row['bbcode_helpline'])];
|
||||
}
|
||||
|
||||
phpbb::$template->assign_block_vars('custom_tags', array(
|
||||
'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'",
|
||||
'BBCODE_ID' => $num_predefined_bbcodes + ($i * 2),
|
||||
|
Reference in New Issue
Block a user