From 3750df5e69dd60aeec8e2ad1c251b9b46fb7ef47 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 19 Feb 2006 17:21:36 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20onglet=20cat=E9gories=20dans=20la=20fic?= =?UTF-8?q?he=20produit=20-=20en=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/categorie.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/product/categorie.php b/htdocs/product/categorie.php index 15b57823099..3c3c51c2f94 100644 --- a/htdocs/product/categorie.php +++ b/htdocs/product/categorie.php @@ -21,6 +21,7 @@ require("./pre.inc.php"); require_once(DOL_DOCUMENT_ROOT."/product.class.php"); +require_once(DOL_DOCUMENT_ROOT."/categories/categorie.class.php"); $langs->load("categories"); @@ -125,7 +126,8 @@ if ($_GET["id"]) $head[$h][1] = $langs->trans('Statistics'); $h++; - dolibarr_fiche_head($head, $hselected, $langs->trans("CardProduct".$product->type).' : '.$product->ref); + $titre=$langs->trans("CardProduct".$product->type); + dolibarr_fiche_head($head, $hselected, $titre); print($mesg); print '';