From 14cae5a73a775883983c4d7ccb7ea8abbd363b1d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 6 Aug 2006 19:49:58 +0000 Subject: [PATCH] =?UTF-8?q?Editeur=20wisiwyg=20est=20ouvert=20par=20d=E9fa?= =?UTF-8?q?ut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/mailing/fiche.php | 2 +- htdocs/product/fiche.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php index 5c131f16edb..7a5bc137db4 100644 --- a/htdocs/comm/mailing/fiche.php +++ b/htdocs/comm/mailing/fiche.php @@ -454,7 +454,7 @@ else if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_MAILING) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('body',$mil->body,320,'dolibarr_mailings'); + $doleditor=new DolEditor('body',$mil->body,320,'dolibarr_mailings','',true); $doleditor->Create(); } else diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 488826e8d5d..0a4e346c3e0 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -440,7 +440,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('desc','',200,'dolibarr_notes'); + $doleditor=new DolEditor('desc','',200,'dolibarr_notes','',true); $doleditor->Create(); } else @@ -466,7 +466,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('note','',200,'dolibarr_notes'); + $doleditor=new DolEditor('note','',200,'dolibarr_notes','',true); $doleditor->Create(); } else @@ -690,7 +690,7 @@ if ($_GET["id"] || $_GET["ref"]) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('desc',$product->description,200,'dolibarr_notes'); + $doleditor=new DolEditor('desc',$product->description,200,'dolibarr_notes','',true); $doleditor->Create(); } else @@ -722,7 +722,7 @@ if ($_GET["id"] || $_GET["ref"]) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes'); + $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes','',true); $doleditor->Create(); } else