From 3bce4755915a44a6641496c2d2b34295b2d92667 Mon Sep 17 00:00:00 2001 From: jbousquie Date: Fri, 25 Nov 2016 16:35:23 +0100 Subject: [PATCH] boutons pour admin seulement --- admin/salles/index.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/admin/salles/index.php b/admin/salles/index.php index 70e25b7..2b2adc2 100644 --- a/admin/salles/index.php +++ b/admin/salles/index.php @@ -114,12 +114,14 @@ if ($admin or $supervis) { $info_cours = '    [retour]'; echo("

Salle ".$salle.$info_cours."

"); - $form ='
'; - //$form = $form.''; - $form = $form.''; - $form = $form.''; - $form = $form.'
'; - echo $form; + if ($admin) { + $form ='
'; + //$form = $form.''; + $form = $form.''; + $form = $form.''; + $form = $form.'
'; + echo $form; + } echo("

bleu : connecté  gris : inactif  jaune : inactif 10j  orange : inactif 20j  rouge : inactif 30j

"); Affiche_plan_salle($machines_du_plan, $portes); }