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';