mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean code
This commit is contained in:
parent
85d2080081
commit
8232a5cdad
|
|
@ -251,7 +251,7 @@ class DolEditor
|
|||
}
|
||||
*/
|
||||
},
|
||||
disableNativeSpellChecker: '.(!getDolGlobalString('CKEDITOR_NATIVE_SPELLCHECKER') ? 'true' : 'false');
|
||||
disableNativeSpellChecker: '.(getDolGlobalString('CKEDITOR_NATIVE_SPELLCHECKER') ? 'false' : 'true');
|
||||
|
||||
if ($this->uselocalbrowser) {
|
||||
$out .= ','."\n";
|
||||
|
|
|
|||
|
|
@ -3431,6 +3431,8 @@ if (!GETPOST('hide_websitemenu')) {
|
|||
// Edit CKEditor
|
||||
if (getDolGlobalInt('WEBSITE_ALLOW_CKEDITOR')) {
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?website='.$object->ref.'&pageid='.$pageid.'&action=editcontent&token='.newToken().'" class="button bordertransp"'.$disabled.'>'.dol_escape_htmltag("CKEditor").'</a>';
|
||||
} else {
|
||||
print '<!-- Add option WEBSITE_ALLOW_CKEDITOR to allow ckeditor -->';
|
||||
}
|
||||
|
||||
print '</span>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user