ckeditor: define the default skin when constant don't exist.
This commit is contained in:
parent
a6701aeb69
commit
b1b7966c88
@ -168,8 +168,11 @@ class DolEditor
|
|||||||
{
|
{
|
||||||
if (! defined('REQUIRE_CKEDITOR')) define('REQUIRE_CKEDITOR','1');
|
if (! defined('REQUIRE_CKEDITOR')) define('REQUIRE_CKEDITOR','1');
|
||||||
|
|
||||||
//$skin='kama';
|
if (empty($conf->global->FCKEDITOR_SKIN)) {
|
||||||
$skin = $conf->global->FCKEDITOR_SKIN; // default with ckeditor 4 : moono
|
$skin = monoo; // default with ckeditor 4 : moono
|
||||||
|
} else {
|
||||||
|
$skin = $conf->global->FCKEDITOR_SKIN;
|
||||||
|
}
|
||||||
|
|
||||||
$htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false';
|
$htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user