source: admin/WebConsole/asistentes/AsistenteCloneRemotePartition.php @ 5d05b06

Last change on this file since 5d05b06 was 3cba7cf, checked in by adv <adv@…>, 5 years ago

#937 #906 formRemotePartitionCloning: show "partition configuration table"

Remote Cloning Wizard shows "partition configuration table" before the form.

The table shows the content of the images in the cache

Code from the other Wizards is reused.

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?php
2// *************************************************************************************************************************************************
3// Aplicacion WEB: ogAdmWebCon
4// Autor: Antonio J. Doblas Viso
5// Baso en Codigo  Comando.php de : Jose Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
6// *************************************************************************************************************************************************
7
8
9//Haciendo referencia a las funciones registradas y que seran interpretadas como funciones javascript
10
11
12
13/********HACIENDO CONSULTA A LA TABLA ordenadores***********/
14include_once("../includes/ctrlacc.php");
15include_once("../clases/AdoPhp.php");
16include_once("../includes/constantes.php");
17include_once("../includes/comunes.php");
18include_once("../includes/CreaComando.php");
19include_once("../includes/HTMLSELECT.php");
20include_once("../idiomas/php/".$idioma."/comandos/ejecutarscripts_".$idioma.".php");
21include_once("../idiomas/php/".$idioma."/comandos/opcionesacciones_".$idioma.".php");
22
23include_once("../includes/HTMLCTESELECT.php");
24include_once("../includes/TomaDato.php");
25include_once("../includes/ConfiguracionesParticiones.php");
26include_once("../includes/RecopilaIpesMacs.php");
27include_once("./includes/asistentes/AyudanteFormularios.php");
28
29//________________________________________________________________________________________________________
30include_once("./includes/capturaacciones.php");
31//________________________________________________________________________________________________________
32//________________________________________________________________________________________________________
33$cmd=CreaComando($cadenaconexion);
34if (!$cmd)
35        Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D.
36//________________________________________________________________________________________________________
37
38?>
39<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
40<html>
41<head>
42<title> Administración web de aulas </title>
43<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
44        <LINK rel="stylesheet" type="text/css" href="../estilos.css">
45        <SCRIPT language="javascript" src="./jscripts/EjecutarScripts.js"></SCRIPT>
46        <SCRIPT language="javascript" src="../comandos/jscripts/comunescomandos.js"></SCRIPT>
47        <SCRIPT language="javascript" src="./jscripts/asistentes.js"></SCRIPT>
48        <SCRIPT language="javascript" src="./jscripts/OrigenesMaster.js"></SCRIPT>
49        <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/ejecutarscripts_'.$idioma.'.js"></SCRIPT>'?>
50        <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/comunescomandos_'.$idioma.'.js"></SCRIPT>'?>
51        <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/asistentes_'.$idioma.'.js"></SCRIPT>'?>
52
53</head>
54
55
56<body>
57<?php
58switch($ambito){
59                case $AMBITO_CENTROS :
60                        $urlimg='../images/iconos/centros.gif';
61                        $textambito=$TbMsg[0];
62                        break;
63                case $AMBITO_GRUPOSAULAS :
64                        $urlimg='../images/iconos/carpeta.gif';
65                        $textambito=$TbMsg[1];
66                        break;
67                case $AMBITO_AULAS :
68                        $urlimg='../images/iconos/aula.gif';
69                        $textambito=$TbMsg[2];
70                        if (isset($_GET["idambito"])) $idambito=$_GET["idambito"];
71                        break;
72                case $AMBITO_GRUPOSORDENADORES :
73                        $urlimg='../images/iconos/carpeta.gif';
74                        $textambito=$TbMsg[3];
75                        break;
76                case $AMBITO_ORDENADORES :
77                        $urlimg='../images/iconos/ordenador.gif';
78                        $textambito=$TbMsg[4];
79                        break;
80        }
81        echo '<p align=center><span class=cabeceras>'.$TbMsg["WCRP31"].'&nbsp;</span><br>';
82        echo '<IMG src="'.$urlimg.'">&nbsp;&nbsp;<span align=center class=subcabeceras>
83                                <U>'.$TbMsg[6].': '.$textambito.','.$nombreambito.'</U></span>&nbsp;&nbsp;</span></p>';
84
85        $sws=$fk_sysFi | $fk_nombreSO | $fk_tamano | $fk_imagen | $fk_perfil | $fk_cache;
86        pintaConfiguraciones($cmd,$idambito,$ambito,9,$sws,false);
87
88        ?>     
89
90
91        <form  align=center name="fdatos" >
92
93
94       
95                <table align=center  class=tabla_datos border="0" cellpadding="0" cellspacing="1">
96                        <?php
97                         include_once("./includes/asistentes/AyudanteFormularios.php");
98                         include_once("./includes/asistentes/formCloneRemotePartition.php");
99?>
100                       
101               
102               
103                        <tr>
104                                <th><INPUT TYPE="button" NAME="GenerarInstruccion" Value="<?php echo $TbMsg["WDI12"]  ?>" onClick="codeCloneRemotePartition(this.form)">        </th>
105                                <td colspan="5"><textarea class="cajatexto" name="codigo" id="codigo" cols="70" rows="7"></textarea></td>
106                        </tr>
107                                                </table>       
108        </form>
109
110<?php
111        //________________________________________________________________________________________________________
112        include_once("./includes/formularioacciones.php");
113        //________________________________________________________________________________________________________
114        //________________________________________________________________________________________________________
115        include_once("./includes/opcionesacciones.php");
116        //________________________________________________________________________________________________________
117?>
118
119
120</body>
121</html>
122
Note: See TracBrowser for help on using the repository browser.