From 383e4688d63eb387665c8fe142ff5038664e73bb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 15 Feb 2004 02:46:54 +0000 Subject: [PATCH] =?UTF-8?q?Application=20du=20nouveau=20style=20des=20bout?= =?UTF-8?q?ons=20d'actions.=20Conditionnement=20de=20l'acc=E8s=20=E0=20cer?= =?UTF-8?q?taines=20actions=20en=20fonction=20de=20leurs=20droits.=20Corre?= =?UTF-8?q?ction=20faute=20de=20style=20border=3D"0"=20en=20class=3D"nobor?= =?UTF-8?q?der".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/bank/index.php | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/htdocs/compta/bank/index.php b/htdocs/compta/bank/index.php index d807a840b12..5435aff3d06 100644 --- a/htdocs/compta/bank/index.php +++ b/htdocs/compta/bank/index.php @@ -50,7 +50,7 @@ if ($result) $db->free(); } -print ''; +print '
'; print ''; print ''; print "\n"; @@ -133,25 +133,18 @@ for ($i = 0 ; $i < sizeof($accounts) ; $i++) { print "
Comptes courantsBanqueNuméroSoldeClos
"; -print '

'.""; -/* - * Case 1 - */ +print "
\n"; -print '
'; -/* - * Case 2 - */ +if ($user->rights->banque->configurer) { + print 'Nouveau compte'; + print 'Configurer'; +} +if ($user->rights->banque->modifier) { + print 'Catégories'; +} -print ''; -print ''; -print ''; -print ''; - -print "
'; -print 'Nouveau compteConfigurer-'; -print 'Catégories-
"; +print ""; $db->close();