From 537d0b62e44e27ecb01fcaec7eef821209799ede Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Sat, 5 Mar 2011 13:56:09 +0000 Subject: [PATCH] Some display enhancement, and code uniformisation --- htdocs/product/admin/produit.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/htdocs/product/admin/produit.php b/htdocs/product/admin/produit.php index b76d4140ca0..0ec44a649b9 100644 --- a/htdocs/product/admin/produit.php +++ b/htdocs/product/admin/produit.php @@ -78,7 +78,7 @@ else if ($_POST["action"] == 'useecotaxe') /* - * Affiche page + * View */ $formbarcode=new FormBarCode($db); @@ -88,6 +88,15 @@ llxHeader('',$langs->trans("ProductSetup")); $linkback=''.$langs->trans("BackToModuleList").''; print_fiche_titre($langs->trans("ProductSetup"),$linkback,'setup'); +$h = 0; + +$head[$h][0] = DOL_URL_ROOT."/product/admin/produit.php"; +$head[$h][1] = $langs->trans("Products"); +$hselected=$h; +$h++; + +dol_fiche_head($head, $hselected, $langs->trans("ModuleSetup")); + $html=new Form($db); $var=true; print ''; @@ -249,7 +258,7 @@ if ($conf->global->PRODUCT_CANVAS_ABILITY) if ($conf->$module->enabled) { $var=!$var; - print "
"; + print "
"; print $object->description;