forked from Wavyzz/dolibarr
Ajout traduction des descriptions des modeles pdf
Dplacement de la fonction _dol_htmlentities() dans function.inc.php afin d'viter les erreur fatal lorsque plusieurs modles l'incluait
This commit is contained in:
@@ -956,17 +956,4 @@ class pdf_einstein extends ModelePDFCommandes
|
||||
|
||||
}
|
||||
|
||||
// Cette fonction est appel<65>e pour coder ou non une chaine en html
|
||||
// selon qu'on compte l'afficher dans le PDF avec:
|
||||
// writeHTMLCell -> a besoin d'etre encod<6F> en HTML
|
||||
// MultiCell -> ne doit pas etre encod<6F> en HTML
|
||||
function _dol_htmlentities($stringtoencode,$isstringalreadyhtml)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ($isstringalreadyhtml) return $stringtoencode;
|
||||
if ($conf->fckeditor->enabled) return htmlentities($stringtoencode);
|
||||
return $stringtoencode;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -1087,17 +1087,4 @@ class pdf_crabe extends ModelePDFFactures
|
||||
|
||||
}
|
||||
|
||||
// Cette fonction est appel<65>e pour coder ou non une chaine en html
|
||||
// selon qu'on compte l'afficher dans le PDF avec:
|
||||
// writeHTMLCell -> a besoin d'etre encod<6F> en HTML
|
||||
// MultiCell -> ne doit pas etre encod<6F> en HTML
|
||||
function _dol_htmlentities($stringtoencode,$isstringalreadyhtml)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ($isstringalreadyhtml) return $stringtoencode;
|
||||
if ($conf->fckeditor->enabled) return htmlentities($stringtoencode);
|
||||
return $stringtoencode;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -966,17 +966,4 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
|
||||
}
|
||||
|
||||
// Cette fonction est appel<65>e pour coder ou non une chaine en html
|
||||
// selon qu'on compte l'afficher dans le PDF avec:
|
||||
// writeHTMLCell -> a besoin d'etre encod<6F> en HTML
|
||||
// MultiCell -> ne doit pas etre encod<6F> en HTML
|
||||
function _dol_htmlentities($stringtoencode,$isstringalreadyhtml)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ($isstringalreadyhtml) return $stringtoencode;
|
||||
if ($conf->fckeditor->enabled) return htmlentities($stringtoencode);
|
||||
return $stringtoencode;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -104,3 +104,7 @@ OrderSource5=Commercial
|
||||
OrderSource6=Store
|
||||
QtyOrdered=Qty ordered
|
||||
AddDeliveryCostLine=Add a delivery cost line indicating the weight of the order
|
||||
|
||||
|
||||
# einstein PDF Model
|
||||
PDFEinsteinDescription=A complete order model (logo...)
|
||||
@@ -74,3 +74,7 @@ SetDateLivraison=Set shipping date
|
||||
CopyPropalFrom=Create commercial proposal by copying existing proposal
|
||||
CreateEmptyPropal=Create empty commercial proposals vierge or from list of products/services
|
||||
DefaultProposalDurationValidity=Default commercial proposal validity duration (in days)
|
||||
|
||||
|
||||
# azur PDF Model
|
||||
PDFAzurDescription=A complete proposal model (logo...)
|
||||
@@ -104,3 +104,6 @@ OrderSource5=Commercial
|
||||
OrderSource6=Magasin
|
||||
QtyOrdered=Qt<51> command<6E>e
|
||||
AddDeliveryCostLine=Ajouter une ligne de frais port indiquant le poids de la commande
|
||||
|
||||
# einstein PDF Model
|
||||
PDFEinsteinDescription=Mod<6F>le de propositions commerciales complet (logo...)
|
||||
@@ -74,3 +74,6 @@ SetDateLivraison=D
|
||||
CopyPropalFrom=Cr<43>er proposition/devis par recopie d'un proposition existante
|
||||
CreateEmptyPropal=Cr<43>er proposition/devis vierge ou depuis liste de produits pr<70>d<EFBFBD>finis
|
||||
DefaultProposalDurationValidity=D<>lai de validit<69> par d<>faut (en jours)
|
||||
|
||||
# azur PDF Model
|
||||
PDFAzurDescription=Mod<6F>le de propositions commerciales complet (logo...)
|
||||
@@ -2370,4 +2370,17 @@ function hexbin($hexa){
|
||||
return $bin;
|
||||
}
|
||||
|
||||
// Cette fonction est appel<65>e pour coder ou non une chaine en html
|
||||
// selon qu'on compte l'afficher dans le PDF avec:
|
||||
// writeHTMLCell -> a besoin d'etre encod<6F> en HTML
|
||||
// MultiCell -> ne doit pas etre encod<6F> en HTML
|
||||
function _dol_htmlentities($stringtoencode,$isstringalreadyhtml)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ($isstringalreadyhtml) return $stringtoencode;
|
||||
if ($conf->fckeditor->enabled) return htmlentities($stringtoencode);
|
||||
return $stringtoencode;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user