mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
syntax
This commit is contained in:
@@ -172,7 +172,7 @@ class DolEditor
|
|||||||
|
|
||||||
//$skin='kama';
|
//$skin='kama';
|
||||||
$skin='moono'; // default with cdeditor 4
|
$skin='moono'; // default with cdeditor 4
|
||||||
|
|
||||||
$htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false';
|
$htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false';
|
||||||
$out.= '<script type="text/javascript">
|
$out.= '<script type="text/javascript">
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|||||||
@@ -616,7 +616,7 @@ class FormMail
|
|||||||
$this->substit['__SIGNATURE__'] = dol_nl2br($this->substit['__SIGNATURE__']);
|
$this->substit['__SIGNATURE__'] = dol_nl2br($this->substit['__SIGNATURE__']);
|
||||||
} else if(!dol_textishtml($defaultmessage) && dol_textishtml($this->substit['__SIGNATURE__'])) {
|
} else if(!dol_textishtml($defaultmessage) && dol_textishtml($this->substit['__SIGNATURE__'])) {
|
||||||
$defaultmessage = dol_nl2br($defaultmessage);
|
$defaultmessage = dol_nl2br($defaultmessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dol_textishtml($defaultmessage) && $from_template) {
|
if (dol_textishtml($defaultmessage) && $from_template) {
|
||||||
$allow_content=1;
|
$allow_content=1;
|
||||||
|
|||||||
Reference in New Issue
Block a user