From db7ffeb8584835e7f027a6a30a0efc5607ffff47 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Aug 2006 18:16:31 +0000 Subject: [PATCH] =?UTF-8?q?L'=E9diteur=20wysiwig=20s'ouvre=20en=20mode=20d?= =?UTF-8?q?eroul=E9=20sur=20la=20creation=20de=20mailing?= 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 7a5bc137db4..d03ae0ca105 100644 --- a/htdocs/comm/mailing/fiche.php +++ b/htdocs/comm/mailing/fiche.php @@ -256,7 +256,7 @@ if ($_GET["action"] == 'create') if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_MAILING) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('body',$objp->description,320,'dolibarr_details'); + $doleditor=new DolEditor('body',$objp->description,320,'dolibarr_details','',true); $doleditor->Create(); } else diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 0a4e346c3e0..61267159505 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','',true); + $doleditor=new DolEditor('desc','',180,'dolibarr_notes','',false); $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','',true); + $doleditor=new DolEditor('note','',200,'dolibarr_notes','',false); $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','',true); + $doleditor=new DolEditor('desc',$product->description,180,'dolibarr_notes','',false); $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','',true); + $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes','',false); $doleditor->Create(); } else