diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 0dfe1fb124c..2af5161ed5e 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -1,5 +1,6 @@ + * Copyright (C) 2004 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -167,42 +168,19 @@ else /* */ /* ************************************************************************** */ -print '
'; -if ($action == '') -{ - if ($user->rights->produit->modifier || $user->rights->produit->creer) +print "
\n"; + +if ($action == '' && ($user->rights->produit->modifier || $user->rights->produit->creer)) { - print '
'; + print "Changer le prix"; } - else - { - print ''; - } -} -else -{ - print ''; -} -print ''; -print ''; if ($action == '') -{ - if (1) - { - print ''; - } - else - { - print ''; - } -} -else -{ - print ''; -} -print ''; -print '
[Changer le prix]----[Editer]---

'; + { + print "Editer"; + } + +print "";