From 4fabd866552a717138c020a60fd79f81c51ad8a9 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 10 Nov 2003 19:21:56 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20permissions=20sur=20la=20cr=E9ation=20d?= =?UTF-8?q?e=20projet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/fiche.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 56ccaf6f095..71ebd674712 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -285,9 +285,15 @@ if ($socid > 0) { { print '-'; } - - print 'Créer un projet'; - print '-'; + if ($user->rights->projet->creer) + { + print 'Créer un projet'; + } + else + { + print '-'; + } + print '-'; print '
'; /*