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").':

";