class/BaseSmartObject.php 1 location
|
@@ 788-793 (lines=6) @@
|
785 |
|
$br = isset($this->vars['dobr']) ? $this->getVar('dobr') : true; |
786 |
|
$formatML = true; |
787 |
|
|
788 |
|
if ('default' === $form_editor) { |
789 |
|
/** @var Smartmedia\Helper $helper */ |
790 |
|
$helper = Smartmedia\Helper::getInstance(); |
791 |
|
|
792 |
|
$form_editor = null !==($helper->getConfig('default_editor')) ? $helper->getConfig('default_editor') : 'textarea'; |
793 |
|
} |
794 |
|
|
795 |
|
if ($editor) { |
796 |
|
if (defined('XOOPS_EDITOR_IS_HTML') |
class/Form/SmartObjectForm.php 1 location
|
@@ 520-524 (lines=5) @@
|
517 |
|
/** |
518 |
|
* If the editor is 'default', retreive the default editor of this module |
519 |
|
*/ |
520 |
|
if ('default' === $form_editor) { |
521 |
|
/** @var Smartobject\Helper $helper */ |
522 |
|
$helper = Smartobject\Helper::getInstance(); |
523 |
|
$form_editor = null !== ($helper->getConfig('default_editor')) ? $helper->getConfig('default_editor') : 'textarea'; |
524 |
|
} |
525 |
|
|
526 |
|
$caption = $var['form_caption']; |
527 |
|
$name = $key; |