From 2ea5087ea7d444e52272b0ba3734ab6577309421 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 15 Apr 2005 11:43:23 +0000 Subject: [PATCH] Correction bug de recherche Remplacement de sf_ref par sref --- htdocs/product/index.php | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/htdocs/product/index.php b/htdocs/product/index.php index d6cf5b522c0..1a5d3d654c5 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -22,31 +22,17 @@ */ /** - \file htdocs/product/index.php - \ingroup product - \brief Page accueil des produits et services - \version $Revision$ + \file htdocs/product/index.php + \ingroup product + \brief Page accueil des produits et services + \version $Revision$ */ require("./pre.inc.php"); -$user->getrights('produit'); - - -$langs->load("products"); - if (!$user->rights->produit->lire) accessforbidden(); - - -if ($_POST["action"] == 'update') -{ - $sql = "UPDATE ".MAIN_DB_PREFIX."product SET description='".$_POST["desc"]."' where rowid = ".$_POST["rowid"]; - $db->query($sql); -} - - /* * Affichage page accueil * @@ -68,7 +54,7 @@ print ''; print ""; print ''; print "'; +print $langs->trans("Ref").' :'; print "'; print "
'.$langs->trans("Search").'
"; -print $langs->trans("Ref").' :
"; print $langs->trans("Label").':

";