From eabb7bdb6699201db39fee3049e0bb7dcce94ab4 Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Mon, 22 Jun 2020 14:26:24 +0200 Subject: #894 Console 'Restore Image' Command: Supports disk image. The form allows you to select the disk image to restore. The interface script checks image type, disk or partition, and uses the appropriate script. --- admin/WebConsole/comandos/RestaurarImagen.php | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'admin/WebConsole/comandos/RestaurarImagen.php') diff --git a/admin/WebConsole/comandos/RestaurarImagen.php b/admin/WebConsole/comandos/RestaurarImagen.php index 21fdda46..21c5bf77 100644 --- a/admin/WebConsole/comandos/RestaurarImagen.php +++ b/admin/WebConsole/comandos/RestaurarImagen.php @@ -11,6 +11,9 @@ // HTMLSELECT_imagenes: Imagenes de todos los repositorios de la UO - Cambia parametro idordenadores por idambito // autor: Irina Gomez, Universidad de Sevilla // fecha 2015-06-17 +// Version 1.2: Soporta imágenes de disco. Nueva función HTMLSELECT_imagenes_disco +// Autora: Irina Gomez, ETSII Universidad de Sevilla +// Fecha: 2020-06-22 // ************************************************************************************************************************************************* include_once("../includes/ctrlacc.php"); include_once("../clases/AdoPhp.php"); @@ -200,6 +203,57 @@ function HTMLSELECT_imagenes($cmd,$idimagen,$numpar,$codpar,$icp,$sw,$idambito,$ $SelectHtml.= ''; return($SelectHtml); } +/*________________________________________________________________________________________________________ + Crea la etiqueta html '; + $SelectHtml.= ' '; + + if ($rs->Abrir()){ + $rs->Primero(); + while (!$rs->EOF){ + $SelectHtml.=''; + + $rs->Siguiente(); + } + $rs->Cerrar(); + } + $SelectHtml.= ''; + return($SelectHtml); +} + /*________________________________________________________________________________________________________ Crea la etiqueta html