lien machine sur toutes les machines + affiche IP stockée
This commit is contained in:
parent
8b3b449dfd
commit
dd25fe7f36
@ -54,11 +54,12 @@ function Affiche_plan_salle($salle) {
|
|||||||
if ($nb_jours >= $j30) { $class_jour = ' j30'; }
|
if ($nb_jours >= $j30) { $class_jour = ' j30'; }
|
||||||
|
|
||||||
$class_connexion='';
|
$class_connexion='';
|
||||||
$link = '';
|
$link = '<a href=../taches.php?machine='.$machine.'>';
|
||||||
$username = '';
|
$username = '';
|
||||||
$ip = '';
|
$ip = IP_machine($machine);
|
||||||
|
// s'il existe une connexion sur la machine
|
||||||
if (array_key_exists($machine, $machines_connectees)) {
|
if (array_key_exists($machine, $machines_connectees)) {
|
||||||
$class_connexion = ' conn'; $link = '<a href=../taches.php?machine='.$machine.'>';
|
$class_connexion = ' conn';
|
||||||
$username = $machines_connectees[$machine]["username"];
|
$username = $machines_connectees[$machine]["username"];
|
||||||
$ip = $machines_connectees[$machine]["ip"];
|
$ip = $machines_connectees[$machine]["ip"];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user