From 40ed38bbed2e8a2f5c1c01f1e73cb64fb96b3738 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 3 Mar 2006 11:14:51 +0000 Subject: [PATCH] bugfix --- htdocs/product/traduction.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/htdocs/product/traduction.php b/htdocs/product/traduction.php index 9d3641f9211..6c878651889 100644 --- a/htdocs/product/traduction.php +++ b/htdocs/product/traduction.php @@ -61,8 +61,7 @@ if ($_POST["action"] == 'vadd' && $product = new Product($db); $product->fetch($_POST["id"]); $current_lang = $langs->getDefaultLang(); - - print $_POST["lang"].'
'; + // update de l'objet if ( $_POST["lang"] == $current_lang ) { @@ -324,9 +323,12 @@ if ($_GET["action"] == 'add' || $user->rights->produit->modifier) print ''; print ''; print '';; - print ''; - print ''; - print ''; + //print ''; + //print ''; + //print ''; + print ''; + print ''; + print ''; print ''; print '
'.$langs->trans('Translation').''.$select.'
'.$langs->trans('Label').'
'.$langs->trans('Description').'
'.$langs->trans('Note').'
'.$langs->trans('Label').'
'.$langs->trans('Description').'
'.$langs->trans('Note').'
'.$langs->trans('Label').'
'.$langs->trans('Description').'
'.$langs->trans('Note').'
'; print '
';