1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 05:37:32 +02:00

Plugin bbcodes fix

This commit is contained in:
SecretR
2013-10-24 01:04:40 +03:00
parent f60b8f6e81
commit a44401202b
2 changed files with 4 additions and 2 deletions

View File

@@ -407,6 +407,7 @@ class bbcode_shortcodes extends e_shortcode
global $pref, $eplug_bb, $bbcode_func, $bbcode_help, $bbcode_filedir, $bbcode_imagedir, $bbcode_helpactive, $bbcode_helptag, $register_bb;
// if(defsettrue('e_WYSIWYG')){ return; }
$eplug_bb = $this->var['eplug_bb'] ? $this->var['eplug_bb'] : array();
$bbcode_func = ($this->var['trigger']) ? $this->var['trigger'] : "addtext";

View File

@@ -531,7 +531,8 @@ class e_bbcode
'trigger' => vartrue($options['trigger']), // For BC
// 'hint_func' => $helpfunc, // deprecated and unused
// 'hint_active' => $bbcode_helpactive, // deprecated and unused
'size' => vartrue($helpsize)
'size' => vartrue($helpsize),
'eplug_bb' => $eplug_bb,
);
$bbcode_shortcodes->setVars($data);