From 4ab9baf2bf4e729c803c61dd0fd71992cae64302 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 25 Mar 2006 17:02:50 +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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 14b1d415d6b..260d170c489 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -41,6 +41,11 @@ else $nbcats = 1; } +if ($_REQUEST['origin']) +{ + $idprodorigin = $_REQUEST['origin']; +} + llxHeader("","",$langs->trans("Categories")); $html = new Form($db); @@ -82,6 +87,12 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer) print ''; print '
'; print '

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

'; + + if ($idprodorigin) + { + print '

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

'; + } + print '
'; } }