L'diteur wysiwig s'ouvre en mode deroul sur la creation de mailing

This commit is contained in:
Laurent Destailleur 2006-08-14 18:16:31 +00:00
parent 8312948147
commit db7ffeb858
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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