mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 08:02:22 +01:00
Dbut ajout de la configuration du module FCKeditor
Modification des modles azur (propale), einstein (commande) et crabe (facture) pour afficher la description des produits avec la fonction writeHTMLCell lorsqu'elles ont ts cres avec FCKeditor. Passage du module FCKEditor en statut "experimental" pour avoir un retour utilisateur
This commit is contained in:
@@ -1352,7 +1352,19 @@ else
|
||||
print ' - '.nl2br($objp->product);
|
||||
print '<br>';
|
||||
}
|
||||
print '<textarea name="eldesc" class="flat" cols="50" rows="1">'.$objp->description.'</textarea></td>';
|
||||
// <20>diteur wysiwyg
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php");
|
||||
$oFCKeditor = new FCKeditor('eldesc');
|
||||
$oFCKeditor->Value = $objp->description;
|
||||
$oFCKeditor->Create() ;
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<textarea name="eldesc" class="flat" cols="50" rows="1">'.$objp->description.'</textarea>';
|
||||
}
|
||||
print '</td>';
|
||||
print '<td align="right">';
|
||||
if($soc->tva_assuj == "0")
|
||||
print '<input type="hidden" name="tva_tx" value="0">0';
|
||||
|
||||
Reference in New Issue
Block a user