From 76db18bf45bac57bd605006569a976c8d5cd63cb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Aug 2005 21:41:42 +0000 Subject: [PATCH] =?UTF-8?q?Qual:=20Mise=20en=20commun=20dans=20la=20method?= =?UTF-8?q?e=20html->show=5Fdocuments=20du=20code=20des=20zones=20d'affich?= =?UTF-8?q?ages=20des=20documents=20PDF=20g=E9n=E9r=E9s.=20(Afin=20de=20pr?= =?UTF-8?q?=E9parer=20la=20g=E9n=E9ration=20des=20PDF=20incluant=20le=20ch?= =?UTF-8?q?oix=20du=20model=20=E0=20la=20vol=E9e).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/addpropal.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php index 1c278f2c82b..e539d1ccc64 100644 --- a/htdocs/comm/addpropal.php +++ b/htdocs/comm/addpropal.php @@ -198,8 +198,8 @@ if ($_GET["action"] == 'create') print ''; include_once(DOL_DOCUMENT_ROOT.'/includes/modules/propale/modules_propale.php'); $model=new ModelePDFPropales(); - $liste=$model->liste_modeles($this->db); - $html->select_array("modelpdf",$liste,PROPALE_ADDON_PDF); + $liste=$model->liste_modeles($db); + $form->select_array("modelpdf",$liste,$conf->global->PROPALE_ADDON_PDF); print ""; print '
'; @@ -216,7 +216,7 @@ if ($_GET["action"] == 'create') for ($i = 1 ; $i <= PROPALE_NEW_FORM_NB_PRODUCT ; $i++) { print ''; - $html->select_produits('',"idprod".$i); + $form->select_produits('',"idprod".$i); print ''; print ''; print ' %';