je retire la barre d'outils partagée pour la fiche produit car on ne peut pas travailler

en plein écran pour la description produit, mais je laisse la possibilité de la faire
 dans la classe
This commit is contained in:
Regis Houssin 2006-07-23 20:33:27 +00:00
parent c5e48a40bc
commit 720698a1b8

View File

@ -772,13 +772,6 @@ if ($_GET["id"] || $_GET["ref"])
{ {
print '<input name="seuil_stock_alerte" type="hidden" value="0">'; print '<input name="seuil_stock_alerte" type="hidden" value="0">';
} }
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
{
print '<tr><td>&nbsp;</td><td colspan="2">';
print '<div id="xToolbar"></div>';
print '</td></tr>';
}
// Description // Description
print '<tr><td valign="top">'.$langs->trans("Description").'</td><td colspan="2">'; print '<tr><td valign="top">'.$langs->trans("Description").'</td><td colspan="2">';
@ -786,7 +779,7 @@ if ($_GET["id"] || $_GET["ref"])
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
{ {
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
$doleditor=new DolEditor('desc',$product->description,200,'dolibarr_notes','Out:xToolbar',true); $doleditor=new DolEditor('desc',$product->description,200,'dolibarr_notes');
$doleditor->Create(); $doleditor->Create();
} }
else else
@ -818,7 +811,7 @@ if ($_GET["id"] || $_GET["ref"])
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
{ {
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
$doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes','Out:xToolbar',true); $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes');
$doleditor->Create(); $doleditor->Create();
} }
else else