Suite utilisation du doleditor: selon config. globale
This commit is contained in:
parent
59f543e196
commit
60b4a1fd99
1 changed files with 13 additions and 7 deletions
|
@ -303,12 +303,18 @@ do {
|
|||
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
||||
$doleditor = new DolEditor('body', (GETPOST('body', 'alpha') ? GETPOST('body', 'alpha') : $mailObject->body), '', 280,'dolibarr_notes');
|
||||
$doleditor = new DolEditor(
|
||||
'body',
|
||||
(GETPOST('body', 'alpha') ? GETPOST('body', 'alpha') : $mailObject->body),
|
||||
'',
|
||||
280,
|
||||
'dolibarr_mailings', // toolbar name
|
||||
'In', // toolbar location
|
||||
false, // toolbar start expanded
|
||||
true, // use local browser
|
||||
!empty($conf->global->FCKEDITOR_ENABLE_MAIL) // follow global conf about using ckeditor for mails.
|
||||
);
|
||||
$output .= $doleditor->Create(1);
|
||||
|
||||
// $output .= '<textarea id="body" name="body" rows="14" cols="80" class="flat">';
|
||||
// $output .= htmlentities(GETPOST('body', 'alpha') ? GETPOST('body', 'alpha') : $mailObject->body);
|
||||
// $output .= "</textarea>\n";
|
||||
$output .= "</td></tr>\n";
|
||||
|
||||
// body_ishtml
|
||||
|
|
Loading…
Reference in a new issue