diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2014-03-08 19:20:22 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2014-03-08 19:20:22 -0600 |
commit | c305bd25e469e6cb8a0983d9ba0f36252b4c62ab (patch) | |
tree | 615d20c18b9879c0d58a0405e5d4e5349fbead52 /phpBB/includes/functions_display.php | |
parent | 7880a87c5ed8a83c835ec485a1dce9ce2d4a65d7 (diff) | |
parent | 19fbd1699ab93550bc199f5f92096f7b59467b94 (diff) | |
download | forums-c305bd25e469e6cb8a0983d9ba0f36252b4c62ab.tar forums-c305bd25e469e6cb8a0983d9ba0f36252b4c62ab.tar.gz forums-c305bd25e469e6cb8a0983d9ba0f36252b4c62ab.tar.bz2 forums-c305bd25e469e6cb8a0983d9ba0f36252b4c62ab.tar.xz forums-c305bd25e469e6cb8a0983d9ba0f36252b4c62ab.zip |
Merge pull request #2074 from Crizz0/ticket/12240
Ticket/12240 - Adds specific class to BBCode-Buttons in Template incl. Custom-BBCode support
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index e663ac90c5..05313e849d 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -962,6 +962,7 @@ function display_custom_bbcodes() 'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'", 'BBCODE_ID' => $num_predefined_bbcodes + ($i * 2), 'BBCODE_TAG' => $row['bbcode_tag'], + 'BBCODE_TAG_CLEAN' => str_replace('=', '-', $row['bbcode_tag']), 'BBCODE_HELPLINE' => $row['bbcode_helpline'], 'A_BBCODE_HELPLINE' => str_replace(array('&', '"', "'", '<', '>'), array('&', '"', "\'", '<', '>'), $row['bbcode_helpline']), ); |