From a03822865d0b21638524dbef607b60cdb9fd79e6 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 10 Sep 2009 08:44:53 +0000 Subject: [PATCH] Ajout du control du SuperAdministrateur --- www/pages/menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pages/menu.php b/www/pages/menu.php index ec992b188..b6b00e9d6 100644 --- a/www/pages/menu.php +++ b/www/pages/menu.php @@ -281,7 +281,7 @@ if (preg_match('/SURVLISTE/i', $_SESSION['tabInfo']['droits'])) 'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats') +if ( ($_SESSION['tabInfo']['profil']=='Administrateur' || $_SESSION['tabInfo']['profil']=='SuperAdministrateur') && $_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats') { ?> Administration @@ -289,7 +289,7 @@ if ($_SESSION['tabInfo']['profil']=='Administrateur' && $_SESSION['tabInfo']['lo } // Statistiques -if ($_SESSION['tabInfo']['profil']=='Administrateur' && $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='reunicastats' ) +if (($_SESSION['tabInfo']['profil']=='Administrateur' || $_SESSION['tabInfo']['profil']=='SuperAdministrateur' ) && $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='reunicastats' ) { ?> Statistiques