diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index 652818a4bbf..82e59f82a10 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -650,7 +650,7 @@ if (($action == 'create') || ($action == 'adduserldap')) print ''; print $langs->trans("Note"); print ''; - if ($conf->fckeditor->enabled) + if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_USER) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); $doleditor=new DolEditor('note','',180,'dolibarr_notes','',false); diff --git a/htdocs/user/group/fiche.php b/htdocs/user/group/fiche.php index 846c041d002..fad0ac15dc6 100644 --- a/htdocs/user/group/fiche.php +++ b/htdocs/user/group/fiche.php @@ -181,10 +181,10 @@ if ($action == 'create') print ''; print "".''.$langs->trans("Note").''; - if ($conf->fckeditor->enabled) + if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_USER) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('note','',180,'dolibarr_notes','',false); + $doleditor=new DolEditor('note','',240,'dolibarr_notes','',true); $doleditor->Create(); } else @@ -404,15 +404,15 @@ else print "\n"; print ''.$langs->trans("Note").''; print ''; - if ($conf->fckeditor->enabled) + if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_USER) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('note',$group->note,180,'dolibarr_notes','',false); + $doleditor=new DolEditor('note',$group->note,240,'dolibarr_notes','',true); $doleditor->Create(); } else { - print ''; }