mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Added option to send custom template code directly to bbarea() function.
This commit is contained in:
parent
39e3a1b021
commit
f2ff881639
@ -517,6 +517,11 @@ class e_bbcode
|
||||
{
|
||||
$BBCODE_TEMPLATE = $temp[$template];
|
||||
}
|
||||
elseif(strpos($template,"{")!==false) // custom template provided manually. eg. $template = "<div class='btn-group inline-text'>{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=format}</div>"
|
||||
{
|
||||
$BBCODE_TEMPLATE = $template;
|
||||
$template = 'comment';
|
||||
}
|
||||
else
|
||||
{
|
||||
$BBCODE_TEMPLATE = $BBCODE_TEMPLATE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user