From 5a080696ad75a9ab99271a84228bf2c8b0e18687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Bousqui=C3=A9?= Date: Tue, 4 Dec 2018 15:52:38 +0100 Subject: [PATCH] =?UTF-8?q?winlog=20info=20g=C3=A9n=C3=A9ral?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/salles_live.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/admin/salles_live.php b/admin/salles_live.php index 5cbab13..eef6f20 100644 --- a/admin/salles_live.php +++ b/admin/salles_live.php @@ -30,6 +30,10 @@ function ListeSalles() { function InfoWinlog() { global $username, $role; global $delay; + global $trombino_url; + global $mode_ping; + global $ping_timeout; + global $seuil_couleur_ping; global $winlog_version; $nb = NbConnexions(); $debut = date("d/m/Y", strtotime(PremiereConnexion())); @@ -38,7 +42,15 @@ function InfoWinlog() { $info = $info."nb connexions stockées : ".$nb."\n"; $info = $info."initiées le : ".$debut."\n\n"; $info = $info."rafraichissement connexions : ".$delay." s\n"; - $info = $info."winlog version : ".$winlog_version."\n"; + if ($trombino_url != "") { + $info = $info."\ntrombinoscope activé\n"; + } + if ($mode_ping) { + $info = $info."\nping activé\n"; + $info = $info."timeout ping : ".$ping_timeout." ms\n"; + $info = $info."délai changement de couleur ping : ".$seuil_couleur_ping." s\n"; + } + $info = $info."\nwinlog version : ".$winlog_version."\n"; return $info; }