From f902ef05413c2a7704624fab5b23004066ff4de1 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 19 Feb 2006 17:42:25 +0000 Subject: [PATCH] Ajout navigation next et preview --- htdocs/product/categorie.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/product/categorie.php b/htdocs/product/categorie.php index 893ffbb03b1..90baec43cd8 100644 --- a/htdocs/product/categorie.php +++ b/htdocs/product/categorie.php @@ -46,7 +46,7 @@ llxHeader("","",$langs->trans("CardProduct0")); /* * Fiche produit */ -if ($_GET["id"]) +if ($_GET["id"] || $_GET["ref"]) { //on veut supprimer une catégorie if ($_REQUEST["cat"]) @@ -141,6 +141,11 @@ if ($_GET["id"]) print ''.$product->ref.''; if ($previous_ref || $next_ref) print ''.$previous_ref.''.$next_ref.''; print ''; + print ''; + + // Libelle + print ''.$langs->trans("Label").''.$product->libelle.''; + print ''; $c = new Categorie($db); $cats = $c->containing($_REQUEST['id']);