diff --git a/htdocs/includes/modules/commande/pdf_einstein.modules.php b/htdocs/includes/modules/commande/pdf_einstein.modules.php index 0d7c6411198..602084f9349 100644 --- a/htdocs/includes/modules/commande/pdf_einstein.modules.php +++ b/htdocs/includes/modules/commande/pdf_einstein.modules.php @@ -956,17 +956,4 @@ class pdf_einstein extends ModelePDFCommandes } -// Cette fonction est appelé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é en HTML -// MultiCell -> ne doit pas etre encodé en HTML -function _dol_htmlentities($stringtoencode,$isstringalreadyhtml) -{ - global $conf; - - if ($isstringalreadyhtml) return $stringtoencode; - if ($conf->fckeditor->enabled) return htmlentities($stringtoencode); - return $stringtoencode; -} - ?> diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 9f8309b7d6c..fc05f14f29a 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -1087,17 +1087,4 @@ class pdf_crabe extends ModelePDFFactures } -// Cette fonction est appelé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é en HTML -// MultiCell -> ne doit pas etre encodé en HTML -function _dol_htmlentities($stringtoencode,$isstringalreadyhtml) -{ - global $conf; - - if ($isstringalreadyhtml) return $stringtoencode; - if ($conf->fckeditor->enabled) return htmlentities($stringtoencode); - return $stringtoencode; -} - ?> diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index c7d3ab05f02..d5738b28a2d 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -966,17 +966,4 @@ class pdf_propale_azur extends ModelePDFPropales } -// Cette fonction est appelé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é en HTML -// MultiCell -> ne doit pas etre encodé en HTML -function _dol_htmlentities($stringtoencode,$isstringalreadyhtml) -{ - global $conf; - - if ($isstringalreadyhtml) return $stringtoencode; - if ($conf->fckeditor->enabled) return htmlentities($stringtoencode); - return $stringtoencode; -} - ?> diff --git a/htdocs/langs/en_US/orders.lang b/htdocs/langs/en_US/orders.lang index c7782a722e8..12937068275 100755 --- a/htdocs/langs/en_US/orders.lang +++ b/htdocs/langs/en_US/orders.lang @@ -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...) \ No newline at end of file diff --git a/htdocs/langs/en_US/propal.lang b/htdocs/langs/en_US/propal.lang index 65d6c5b4411..8fea3c85403 100644 --- a/htdocs/langs/en_US/propal.lang +++ b/htdocs/langs/en_US/propal.lang @@ -73,4 +73,8 @@ DateDelivery=Shipping date 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) \ No newline at end of file +DefaultProposalDurationValidity=Default commercial proposal validity duration (in days) + + +# azur PDF Model +PDFAzurDescription=A complete proposal model (logo...) \ No newline at end of file diff --git a/htdocs/langs/fr_FR/orders.lang b/htdocs/langs/fr_FR/orders.lang index eed5f493e37..d6fa46e1e72 100755 --- a/htdocs/langs/fr_FR/orders.lang +++ b/htdocs/langs/fr_FR/orders.lang @@ -104,3 +104,6 @@ OrderSource5=Commercial OrderSource6=Magasin QtyOrdered=Qté commandée AddDeliveryCostLine=Ajouter une ligne de frais port indiquant le poids de la commande + +# einstein PDF Model +PDFEinsteinDescription=Modèle de propositions commerciales complet (logo...) \ No newline at end of file diff --git a/htdocs/langs/fr_FR/propal.lang b/htdocs/langs/fr_FR/propal.lang index b16ad74f26c..2fe3774e2bf 100644 --- a/htdocs/langs/fr_FR/propal.lang +++ b/htdocs/langs/fr_FR/propal.lang @@ -73,4 +73,7 @@ DateDelivery=Date de livraison SetDateLivraison=Définir la date de livraison CopyPropalFrom=Créer proposition/devis par recopie d'un proposition existante CreateEmptyPropal=Créer proposition/devis vierge ou depuis liste de produits prédéfinis -DefaultProposalDurationValidity=Délai de validité par défaut (en jours) \ No newline at end of file +DefaultProposalDurationValidity=Délai de validité par défaut (en jours) + +# azur PDF Model +PDFAzurDescription=Modèle de propositions commerciales complet (logo...) \ No newline at end of file diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 0701fef3ea2..4ed1964c434 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -2370,4 +2370,17 @@ function hexbin($hexa){ return $bin; } +// Cette fonction est appelé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é en HTML +// MultiCell -> ne doit pas etre encodé en HTML +function _dol_htmlentities($stringtoencode,$isstringalreadyhtml) +{ + global $conf; + + if ($isstringalreadyhtml) return $stringtoencode; + if ($conf->fckeditor->enabled) return htmlentities($stringtoencode); + return $stringtoencode; +} + ?>