From 5cda286dab26afffccf729e651acd71b3b59baff Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 25 Mar 2006 17:10:03 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20bouton=20de=20retour=20au=20produit=20a?= =?UTF-8?q?pr=E8s=20cr=E9ation=20de=20la=20cat=E9gorie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/fiche.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 2be926cfecb..9cb151f1596 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -88,8 +88,9 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer) print ''; print '

'.$langs->trans("TheCategorie").' '.$categorie->label.' '.$langs->trans("WasAddedSuccessfully").'

'; - if ($idprodorigin) + if ($_GET['idprodorigin']) { + $idprodorigin = $_GET['idprodorigin'] print '

'.$langs->trans("ReturnInProduct").'

'; } @@ -114,6 +115,10 @@ if ($user->rights->produit->creer) print '
'; print ''; print ''; + if ($idprodorigin) + { + print ''; + } print ''; print ''; print_fiche_titre($langs->trans("CreateCat"));