From 30e7f2b2abe23d36388c0ef74e0ea7e0854ff7b0 Mon Sep 17 00:00:00 2001 From: jbousquie Date: Tue, 27 Sep 2016 10:58:41 +0200 Subject: [PATCH] ajout div fixe --- admin/salles_live.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/admin/salles_live.php b/admin/salles_live.php index b1f5a95..d225b0e 100644 --- a/admin/salles_live.php +++ b/admin/salles_live.php @@ -6,9 +6,23 @@ header ('Content-Type: text/html; charset=utf-8'); include_once('libhome.php'); include_once('winlog_admin_conf.php'); +include_once('connexions.php'); $delay = $delay * 1000; $username = phpCAS::getUser(); +function ListeSalles() { + $salles = Salles(); + global $salles_invisibles; + $liste = "
\n"; + foreach ($salles as $sal) { + if (!in_array($sal, $salles_invisibles)) { + $liste = $liste."$sal"; + } + } + $liste = $liste."\n
\n"; + return $liste; +} + ?> @@ -23,7 +37,9 @@ $username = phpCAS::getUser(); '); + $liste_salles = ListeSalles(); + echo(''."\n"); + echo('
'."\n"); include('reload_salles.php'); echo('
'); $texte = '

rechargement des comptes, machines et salles';