From fa2c27ae1887de9806eb9b0fc6e26dbd239284b7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 30 Mar 2006 15:45:04 +0000 Subject: [PATCH] =?UTF-8?q?d=E9but=20ajout=20possibilit=E9=20de=20d=E9term?= =?UTF-8?q?iner=20si=20le=20contenu=20d'une=20cat=E9gorie=20sera=20visible?= =?UTF-8?q?=20ou=20=20non=20dans=20la=20liste=20des=20produits/services,?= =?UTF-8?q?=20ceci=20afin=20de=20pouvoir=20cacher=20les=20sous-produits=20?= =?UTF-8?q?=20par=20exemple.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/viewcat.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 240ce00af6f..7369b6ad639 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -106,7 +106,7 @@ else { print "
"; print "\n"; - print "\n"; + print "\n"; if (sizeof ($prods) > 0) { @@ -116,7 +116,11 @@ else $i++; $var=!$var; print "\t\n"; - print "\t\t\n"; + print "\t\t\n"; + print "\t\t\n"; print "\t\t\n"; print "\t\n"; }
".$langs->trans("ProductsAndServices")."
".$langs->trans("ProductsAndServices")."
".$prod->libelle.""; + if ($prod->type == 1) print img_object($langs->trans("ShowService"),"service"); + else print img_object($langs->trans("ShowProduct"),"product"); + print "".$prod->ref."".$prod->libelle."".$prod->description."