From 08a9feab3b80551d5ce49455a583ba42e49bbc89 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 29 Aug 2003 18:29:56 +0000 Subject: [PATCH] Ajout d'un barre d'action --- htdocs/comm/fiche.php3 | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/fiche.php3 b/htdocs/comm/fiche.php3 index ea03bb03c0c..68c0a2631db 100644 --- a/htdocs/comm/fiche.php3 +++ b/htdocs/comm/fiche.php3 @@ -151,11 +151,7 @@ if ($socid > 0) { print "idp&action=add_bookmark\">[Bookmark]"; if ($user->rights->projet->creer) print "idp&action=create\">[Projet]"; - if (defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE) - { - if ($user->rights->propale->creer) - print "idp&action=create\">[Propal]"; - } + if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER) { print "idp&action=create\">[Intervention]"; @@ -270,6 +266,26 @@ if ($socid > 0) { */ print ""; print "\n"; + /* + * + * + */ + print ''; + print ''; + if (defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer) + { + print ""; + } + else + { + print ''; + } + print ''; + + print ''; + print ''; + print '
-idp&action=create\">Créer une proposition--Créer un projet-
'; + /* * *