From dd25fe7f3687190273456334af2d573d5dd87cf3 Mon Sep 17 00:00:00 2001 From: jbousquie Date: Mon, 21 Nov 2016 15:12:40 +0100 Subject: [PATCH] =?UTF-8?q?lien=20machine=20sur=20toutes=20les=20machines?= =?UTF-8?q?=20+=20affiche=20IP=20stock=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/salles/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/salles/index.php b/admin/salles/index.php index 024a9b5..9124d24 100644 --- a/admin/salles/index.php +++ b/admin/salles/index.php @@ -54,11 +54,12 @@ function Affiche_plan_salle($salle) { if ($nb_jours >= $j30) { $class_jour = ' j30'; } $class_connexion=''; - $link = ''; + $link = ''; $username = ''; - $ip = ''; + $ip = IP_machine($machine); + // s'il existe une connexion sur la machine if (array_key_exists($machine, $machines_connectees)) { - $class_connexion = ' conn'; $link = ''; + $class_connexion = ' conn'; $username = $machines_connectees[$machine]["username"]; $ip = $machines_connectees[$machine]["ip"]; }