From 85ccdd6933aff3434408c3f6e1671897f642ff56 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 21 Jul 2011 22:54:35 +0000 Subject: [PATCH] Fix: Link --- .../doc/doc_generic_invoice_odt.modules.php | 34 ++----------------- .../societe/doc/doc_generic_odt.modules.php | 34 ++----------------- 2 files changed, 6 insertions(+), 62 deletions(-) diff --git a/htdocs/includes/modules/facture/doc/doc_generic_invoice_odt.modules.php b/htdocs/includes/modules/facture/doc/doc_generic_invoice_odt.modules.php index a6536023b1e..e42ecd75db5 100644 --- a/htdocs/includes/modules/facture/doc/doc_generic_invoice_odt.modules.php +++ b/htdocs/includes/modules/facture/doc/doc_generic_invoice_odt.modules.php @@ -22,7 +22,7 @@ * \ingroup societe * \brief File of class to build ODT documents for third parties * \author Laurent Destailleur - * \version $Id$ + * \version $Id: doc_generic_invoice_odt.modules.php,v 1.19 2011/07/21 22:54:36 eldy Exp $ */ require_once(DOL_DOCUMENT_ROOT."/includes/modules/facture/modules_facture.php"); @@ -196,37 +196,9 @@ class doc_generic_invoice_odt extends ModelePDFFactures $texthelp=$langs->trans("ListOfDirectoriesForModelGenODT"); // Add list of substitution keys $texthelp.='
'.$langs->trans("FollowingSubstitutionKeysCanBeUsed").'
'; - /*$dummy=new User($db); - $tmparray=$this->get_substitutionarray_user($dummy,$langs); - $nb=0; - foreach($tmparray as $key => $val) - { - $texthelp.='{'.$key.'}
'; - $nb++; - if ($nb >= 5) { $texthelp.='...
'; break; } - } - $dummy=new Societe($db); - $tmparray=$this->get_substitutionarray_mysoc($dummy,$langs); - $nb=0; - foreach($tmparray as $key => $val) - { - $texthelp.='{'.$key.'}
'; - $nb++; - if ($nb >= 5) { $texthelp.='...
'; break; } - } - $tmparray=$this->get_substitutionarray_thirdparty($dummy,$langs); - $nb=0; - foreach($tmparray as $key => $val) - { - $texthelp.='{'.$key.'}
'; - $nb++; - if ($nb >= 5) { $texthelp.='...
'; break; } - }*/ - $texthelp.=$langs->trans("FullListOnOnlineDocumentation"); - - $texte.= $form->textwithpicto($texttitle,$texthelp,1,'help'); - //var_dump($listofdir); + $texthelp.=$langs->transnoentitiesnoconv("FullListOnOnlineDocumentation"); // This contains an url, we don't modify it + $texte.= $form->textwithpicto($texttitle,$texthelp,1,'help','',1); $texte.= '
'; $texte.= '