diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-08-13 14:02:37 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-08-14 12:59:17 +0200 |
commit | 3aadac3b9b8412ac91095ef8586605fe3da0d8b7 (patch) | |
tree | 4e8a4f7cf419b316eed79da8c695c20b61e397dc /admin/WebConsole/principal/boot_grub4dos.php | |
parent | 179e1b1d53ef3d6c964af445c66d423e56cf76c1 (diff) |
#980 Update POST /mode to the new ogServer API
This patch selects the machines whose modes need to be changed using the
client's IP rather than their scope names.
Diffstat (limited to 'admin/WebConsole/principal/boot_grub4dos.php')
-rw-r--r-- | admin/WebConsole/principal/boot_grub4dos.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/principal/boot_grub4dos.php b/admin/WebConsole/principal/boot_grub4dos.php index 680d53ad..fb271a1c 100644 --- a/admin/WebConsole/principal/boot_grub4dos.php +++ b/admin/WebConsole/principal/boot_grub4dos.php @@ -201,7 +201,7 @@ for($i=0; $i<count($pn); $i++) { // esta funcion genera los elementos de un select(formulario html) donde aparecen los nombres de los ordenadores, según su menu pxe function listaequipos($cmd,$menupxe,$seleccion) { -$cmd->texto="SELECT idordenador, nombreordenador +$cmd->texto="SELECT ip, nombreordenador FROM ordenadores WHERE arranque='" . $menupxe ."' " . $seleccion; $rs=new Recordset; @@ -210,7 +210,7 @@ if (!$rs->Abrir()) echo "error"; $rs->Primero(); while (!$rs->EOF) { - echo "<option value='".$rs->campos["idordenador"]."'>".$rs->campos["nombreordenador"]."</option>"; + echo "<option value='".$rs->campos["ip"]."'>".$rs->campos["nombreordenador"]."</option>"; $rs->Siguiente(); } $rs->Cerrar(); |