From 532e2563142abcd51c3d350d31d5564ad41977f6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 14 Mar 2004 16:40:46 +0000 Subject: [PATCH] Application du nouveau look sur la barre d'action des entrepots. --- htdocs/product/stock/fiche.php | 42 ++++++++-------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) 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 "";