summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2013-04-09 08:23:13 +0000
committerramon <ramongomez@us.es>2013-04-09 08:23:13 +0000
commit3e3797ec0f3675dd4919876c5dfe974321c4a234 (patch)
tree4f1dbaafcd075de2c1c730c2199a7b4cfe620b09 /admin/WebConsole
parent44912ec5d51d0330f50831d494b6e7046fb24272 (diff)
#585: Cambios en el formulario de propiedades de aula:
* Se añaden los campos para IP del DNS y URL del Proxy. * Se eliminan/comentan los campos de horario de reserva y tamaño de caché. * Compactar el formulario agrupando los primeros campos. * Limpieza de parte del código HTML. git-svn-id: https://opengnsys.es/svn/branches/version1.0@3734 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole')
-rw-r--r--admin/WebConsole/idiomas/php/cat/propiedades_aulas_cat.php12
-rw-r--r--admin/WebConsole/idiomas/php/eng/propiedades_aulas_eng.php9
-rw-r--r--admin/WebConsole/idiomas/php/esp/propiedades_aulas_esp.php5
-rw-r--r--admin/WebConsole/propiedades/propiedades_aulas.php216
4 files changed, 128 insertions, 114 deletions
diff --git a/admin/WebConsole/idiomas/php/cat/propiedades_aulas_cat.php b/admin/WebConsole/idiomas/php/cat/propiedades_aulas_cat.php
index 09cfa98f..c12daa30 100644
--- a/admin/WebConsole/idiomas/php/cat/propiedades_aulas_cat.php
+++ b/admin/WebConsole/idiomas/php/cat/propiedades_aulas_cat.php
@@ -35,4 +35,16 @@ $TbMsg[26]="Modo P2P -semillero durante la descarga-";
$TbMsg[27]="Temp P2P -semillero despres de descarga-";
$TbMsg[28]="adresa gateway del aule";
$TbMsg[29]="Mascara de la xarxa del aule";
+// UHU
+$TbMsg[30]="Validaci&oacute;n";
+$TbMsg[31]="P&aacute;gina login";
+$TbMsg[32]="P&aacute;gina validaci&oacute;n";
+// UHU
+$TbMsg[495]="Contenido cach&eacute;";
+$TbMsg[509]="Foto ordenador";
+$TbMsg[5091]="Insertar foto";
+$TbMsg[5092]="Ver fotos";
+// Ramón
+$TbMsg['PROP_DNSIP']="IP Servidor DNS <em>(opcional)</em>";
+$TbMsg['PROP_PROXYURL']="URL Servidor Proxy <em>(opcional)</em>";
?>
diff --git a/admin/WebConsole/idiomas/php/eng/propiedades_aulas_eng.php b/admin/WebConsole/idiomas/php/eng/propiedades_aulas_eng.php
index 48b21c98..52c9f5bf 100644
--- a/admin/WebConsole/idiomas/php/eng/propiedades_aulas_eng.php
+++ b/admin/WebConsole/idiomas/php/eng/propiedades_aulas_eng.php
@@ -35,8 +35,17 @@ $TbMsg[26]="P2P mode -seeder while downloading";
$TbMsg[27]="P2P time -seeder time(s) after download-";
$TbMsg[28]="Gateway";
$TbMsg[29]="Netmask";
+// UHU
+$TbMsg[30]="Validation";
+$TbMsg[31]="Login page";
+$TbMsg[32]="Validation page";
+// UHU
+$TbMsg[495]="Cache content";
$TbMsg[509]="Computer Photo";
$TbMsg[5091]="Insert Photo";
$TbMsg[5092]="View Images";
+// Ramón
+$TbMsg['PROP_DNSIP']="DNS Server IP <em>(optional)</em>";
+$TbMsg['PROP_PROXYURL']="Proxy Server URL <em>(optional)</em>";
?>
diff --git a/admin/WebConsole/idiomas/php/esp/propiedades_aulas_esp.php b/admin/WebConsole/idiomas/php/esp/propiedades_aulas_esp.php
index c2fc3ab0..2c5dfc87 100644
--- a/admin/WebConsole/idiomas/php/esp/propiedades_aulas_esp.php
+++ b/admin/WebConsole/idiomas/php/esp/propiedades_aulas_esp.php
@@ -43,6 +43,9 @@ $TbMsg[32]="P&aacute;gina validaci&oacute;n";
$TbMsg[495]="Contenido cach&eacute;";
$TbMsg[509]="Foto ordenador";
$TbMsg[5091]="Insertar foto";
-$TbMsg[5092]="Ver fotos";
+$TbMsg[5092]="Ver fotos";
+// Ramón
+$TbMsg['PROP_DNSIP']="IP Servidor DNS <em>(opcional)</em>";
+$TbMsg['PROP_PROXYURL']="URL Servidor Proxy <em>(opcional)</em>";
?>
diff --git a/admin/WebConsole/propiedades/propiedades_aulas.php b/admin/WebConsole/propiedades/propiedades_aulas.php
index 62390910..f9d7fb12 100644
--- a/admin/WebConsole/propiedades/propiedades_aulas.php
+++ b/admin/WebConsole/propiedades/propiedades_aulas.php
@@ -41,6 +41,8 @@ $ipmul="";
$pormulmetodos="";
$pormul=9000;
$velmul="";
+$dns="";
+$proxy="";
$idmenu="";
$idrepositorio="";
$idprocedimiento="";
@@ -75,8 +77,8 @@ else
<SCRIPT language="javascript" src="../jscripts/validators.js"></SCRIPT>
<SCRIPT language="javascript" src="../jscripts/propiedades_aulas.js"></SCRIPT>
<SCRIPT language="javascript" src="../jscripts/opciones.js"></SCRIPT>
- <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/propiedades_aulas_'.$idioma.'.js"></SCRIPT>'?>
- <script language=javascript>
+ <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/propiedades_aulas_'.$idioma.'.js"></SCRIPT>'?>
+ <script language=javascript>
function abrir_ventana(URL){
window.open('../images/ver.php','Imagenes','scrollbars=yes,resizable=yes,width=950,height=640')
}
@@ -94,8 +96,6 @@ function abrir_ventana(URL){
<INPUT type=hidden name=gidprocedimiento value="<? echo $gidprocedimiento?>">
<INPUT type=hidden name=gidrepositorio value="<? echo $gidrepositorio?>">
<INPUT type=hidden name=gidperfilhard value="<? echo $gidperfilhard?>">
- <INPUT type=hidden name=gcache value="<? echo $gcache?>">
-
<P align=center class=cabeceras><?echo $TbMsg[4]?><BR>
<SPAN align=center class=subcabeceras><? echo $opciones[$opcion]?></SPAN></P>
@@ -103,8 +103,7 @@ function abrir_ventana(URL){
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<tr>
<th align="center"><?php echo $TbMsg[5]?></th>
- <?php
- if ($opcion==$op_eliminacion){
+ <?php if ($opcion==$op_eliminacion){
echo '<td>'. $nombreaula.'</td>';
echo '<td colspan="2" valign="top" align=c"enter" rowspan="2">
<img border="3" style="border-color:#63676b" src="../images/fotos/'.$urlfoto.'" />
@@ -112,64 +111,61 @@ function abrir_ventana(URL){
}
else{
echo '<td><input class="formulariodatos" name=nombreaula style="width:215" type=text value="'. $nombreaula.'" /></td>';
- echo'<td colspan="2" valign="top" align="left" rowspan="2"><img border="3" style="border-color:#63676b" src="../images/fotos/'.$urlfoto.'" /><br />'.$TbMsg[21].': '. $ordenadores.'<br />(150X110)-(jpg - gif - png) ---- '.$TbMsg[5091].'<br /><input name="archivo" type="file" id="archivo" size="16" /></td>';
+ echo'<td rowspan="5" colspan="2" valign="top" align="left"><img border="3" style="border-color:#63676b" src="../images/fotos/'.$urlfoto.'" /><br />'.$TbMsg[21].': '. $ordenadores.'<br />(150X110)-(jpg - gif - png) ---- '.$TbMsg[5091].'<br /><input name="archivo" type="file" id="archivo" size="16" /></td>';
}
?>
</tr>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
- <TR>
- <TH align=center>&nbsp;<?echo $TbMsg[6]?>&nbsp;</TD>
- <?if ($opcion==$op_eliminacion)
- echo '<TD>'.$ubicacion.'&nbsp; </TD>';
+ <tr>
+ <th align=center>&nbsp;<?php echo $TbMsg[6]?>&nbsp;</th>
+ <?php if ($opcion==$op_eliminacion)
+ echo '<td>'.$ubicacion.'&nbsp; </td>';
else
- echo '<TD><TEXTAREA class="formulariodatos" name=ubicacion rows=3 cols=42>'.$ubicacion.'</TEXTAREA></TD>';
+ echo '<td><textarea class="formulariodatos" name=ubicacion rows=3 cols=42>'.$ubicacion.'</textarea></td>';
?>
- </TR>
+ </tr>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
- <TR>
- <TH align=center>&nbsp;<?echo $TbMsg[7]?>&nbsp;</TD>
- <?
- if ($opcion==$op_eliminacion){
- echo '<TD colspan=3><INPUT class="formulariodatos" name=cagnon type=checkbox onclick="desabilita(this)" ';
+ <tr>
+ <th align="center">&nbsp;<?php echo $TbMsg[7]?>&nbsp;</th>
+ <?php if ($opcion==$op_eliminacion){
+ echo '<td><input class="formulariodatos" name=cagnon type=checkbox onclick="desabilita(this)" ';
if ($cagnon) echo ' checked ';
- echo '></TD>';
+ echo '></td>';
}
else{
- echo '<TD colspan=3><INPUT class="formulariodatos" name=cagnon type=checkbox value="1" ';
+ echo '<td><input class="formulariodatos" name=cagnon type=checkbox value="1" ';
if ($cagnon) echo ' checked ';
- echo '></TD>';
+ echo '></td>';
}
?>
- </TR>
+ </tr>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
- <TR>
- <TH align=center>&nbsp;<?echo $TbMsg[8]?>&nbsp;</TD>
- <?
- if ($opcion==$op_eliminacion){
- echo '<TD colspan=3><INPUT class="formulariodatos" name=pizarra type=checkbox onclick="desabilita(this)" ';
+ <tr>
+ <th align="center">&nbsp;<?php echo $TbMsg[8]?>&nbsp;</th>
+ <?php if ($opcion==$op_eliminacion){
+ echo '<td><input class="formulariodatos" name=pizarra type=checkbox onclick="desabilita(this)" ';
if ($pizarra) echo ' checked ';
- echo '></TD>';
- }
- else{
- echo '<TD colspan=3><INPUT class="formulariodatos" name=pizarra type=checkbox value="1" ';
+ echo '></td>';
+ } else {
+ echo '<td><input class="formulariodatos" name=pizarra type=checkbox value="1" ';
if ($pizarra) echo ' checked ';
- echo '></TD>';
- }
+ echo '></td>';
+ }
?>
- </TR >
+ </tr>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
- <TR>
- <TH align=center&nbsp;><?echo $TbMsg[9]?>&nbsp;</TD>
- <?
- if ($opcion==$op_eliminacion)
- echo '<TD colspan=3>'.$puestos.'</TD>';
+ <tr>
+ <th align="center">&nbsp;<?php echo $TbMsg[9]?>&nbsp;</th>
+ <?php if ($opcion==$op_eliminacion)
+ echo '<td>'.$puestos.'</td>';
else
- echo '<TD colspan=3><INPUT class="formulariodatos" name=puestos style="width:30" type=text value='.$puestos.'></TD>';
+ echo '<td><input class="formulariodatos" name=puestos style="width:30" type=text value='.$puestos.'></td>';
?>
- </TR>
+ </tr>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
+<!-- HORARIO DE SERVICIO TEMPORALMENTE DESHABILITADO.
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[13]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[13]?>&nbsp;</TD>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$TbMsg[14].$horaresevini.'&nbsp;&nbsp;&nbsp&nbsp;'.$TbMsg[15].$horaresevfin.'</TD>';
@@ -177,9 +173,10 @@ function abrir_ventana(URL){
echo '<TD colspan=3>'.$TbMsg[14].'&nbsp<INPUT class="formulariodatos" onclick="vertabla_horas(this)" name=horaresevini style="width:30" type=text value='.$horaresevini.'>&nbsp;&nbsp;&nbsp&nbsp;'.$TbMsg[15].'&nbsp<INPUT class="formulariodatos" onclick="vertabla_horas(this)" name=horaresevfin style="width:30" type=text value='.$horaresevfin.'></TD>';
?>
</TR>
+-->
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[10]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[10]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>../images/fotos/'.$urlfoto.'</TD>';
@@ -206,43 +203,58 @@ function abrir_ventana(URL){
<?
}
?>
- </TR>
+ </TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[12]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[12]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$comentarios.'</TD>';
else
echo '<TD colspan=3><TEXTAREA class="formulariodatos" name=comentarios rows=3 cols=65>'.$comentarios.'</TEXTAREA></TD>';
?>
- </TR>
-<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
-<!----ADV -------------------------------------router-------------------------------------------------------------------------------------------------------------------------------------------->
+ </TR>
+<!---- ADV ---------------------------router------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[28]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[28]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$router.'</TD>';
else
echo '<TD colspan=3><INPUT class="formulariodatos" name=router style="width:100" type=text value='.$router.'></TD>';
?>
- </TR>
-<!-----ADV -----------------------------netmask--------------------------------------------------------------------------------------------------------------------------------------------------->
+ </TR>
+<!---- ADV --------------------------netmask------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[29]?>&nbsp;</TD>
+ <TH align=center&nbsp;><?echo $TbMsg[29]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$netmask.'</TD>';
else
echo '<TD colspan=3><INPUT class="formulariodatos" name=netmask style="width:100" type=text value='.$netmask.'></TD>';
?>
- </TR>
-<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
-
-<!-----ADV --------------------------p2pmodo------------------------------------------------------------------------------------------------------------------------------------------------------>
+ </TR>
+<!---- Ramón ------------------------dns------------------------------------------------->
+ <tr>
+ <th align="center">&nbsp;<?php echo $TbMsg['PROP_DNSIP'] ?>&nbsp;</th>
+ <?php if ($opcion==$op_eliminacion)
+ echo '<td colspan="3">'.$dns.'</td>';
+ else
+ echo '<td colspan="3"><input class="formulariodatos" name="dns" style="width:100" type="text" maxlength="15" value="'.$dns.'" /></td>';
+ ?>
+ </tr>
+<!---- Ramón ------------------------proxy------------------------------------------------->
+ <tr>
+ <th align="center">&nbsp;<?php echo $TbMsg['PROP_PROXYURL'] ?>&nbsp;</th>
+ <?php if ($opcion==$op_eliminacion)
+ echo '<td colspan="3">'.$proxy.'</td>';
+ else
+ echo '<td colspan="3"><input class="formulariodatos" name="proxy" style="width:200" type="text" maxlength="30" value="'.$proxy.'" /></td>';
+ ?>
+ </tr>
+<!---- ADV --------------------------p2pmodo------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[26]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[26]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$modp2p.'</TD>';
@@ -253,28 +265,22 @@ function abrir_ventana(URL){
$p2pmetodos.="seeder=seeder";
echo HTMLCTESELECT($p2pmetodos,"modp2p","estilodesple","",$modp2p,100).'</TD>';
?>
- </TR>
+ </TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<!----------------------------p2p tiempo semillero--------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[27]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[27]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$timep2p.'</TD>';
else
echo '<TD colspan=3><INPUT class="formulariodatos" name=timep2p style="width:100" type=text value='.$timep2p.'></TD>';
?>
- </TR>
+ </TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
-
-
-
-
-
-
- <TR>
- <TH align=center&nbsp;><?echo $TbMsg[22]?>&nbsp;</TD>
+ <TR>
+ <TH align=center>&nbsp;<?echo $TbMsg[22]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion){
$TBMetodos[0]="";
@@ -289,20 +295,20 @@ function abrir_ventana(URL){
$metodos.="2=Full-Duplex";
echo HTMLCTESELECT($metodos,"modomul","estilodesple","",$modomul,100).'</TD>';
?>
- </TR>
+ </TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[23]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[23]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$ipmul.'</TD>';
else
echo '<TD colspan=3><INPUT class="formulariodatos" name=ipmul style="width:100" type=text value='.$ipmul.'></TD>';
?>
- </TR>
+ </TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[24]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[24]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$pormul.'</TD>';
@@ -314,10 +320,10 @@ function abrir_ventana(URL){
$pormulmetodos.="9050=9050";
echo HTMLCTESELECT($pormulmetodos,"pormul","estilodesple","",$pormul,100).'</td>';
?>
- </TR>
+ </TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center&nbsp;><?echo $TbMsg[25]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[25]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$velmul.'</TD>';
@@ -331,7 +337,7 @@ function abrir_ventana(URL){
</TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[11]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[11]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.TomaDato($cmd,$idcentro,'menus',$idmenu,'idmenu','descripcion').'&nbsp;</TD>';
@@ -341,7 +347,7 @@ function abrir_ventana(URL){
</TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[16]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[16]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.TomaDato($cmd,$idcentro,'repositorios',$idrepositorio,'idrepositorio','nombrerepositorio').'&nbsp;</TD>';
@@ -351,7 +357,7 @@ function abrir_ventana(URL){
</TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[20]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[20]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.TomaDato($cmd,$idcentro,'procedimientos',$idprocedimiento,'idprocedimiento','descripcion').'&nbsp;</TD>';
@@ -361,7 +367,7 @@ function abrir_ventana(URL){
</TR>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[17]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[17]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.TomaDato($cmd,$idcentro,'perfileshard',$idperfilhard,'idperfilhard','descripcion').'&nbsp;</TD>';
@@ -369,21 +375,10 @@ function abrir_ventana(URL){
echo '<TD colspan=3>'.HTMLSELECT($cmd,$idcentro,'perfileshard',$idperfilhard,'idperfilhard','descripcion',330).'</TD>';
?>
</TR>
-<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
- <TR>
- <TH align=center&nbsp;><?echo $TbMsg[19]?>&nbsp;</TD>
- <?
- if ($opcion==$op_eliminacion)
- echo '<TD colspan=3>'.$cache.'</TD>';
- else
- echo '<TD colspan=3><INPUT class="formulariodatos" name=cache style="width:100" type=text readonly value=0></TD>';
- ?>
- </TR>
-<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
-<!--------------------------------------------------------------UHU comprobar si se requiere validacion ------------------------------------------------------------------------>
+<!--------------------------------------------------------------UHU comprobar si se requiere validacion -------------------------------------------------------------------------->
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[30]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[30]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.(($validacion == 1)?"Si":"No").'</TD>';
@@ -397,7 +392,7 @@ function abrir_ventana(URL){
?>
</TR>
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[31]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[31]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$paginalogin.'</TD>';
@@ -406,7 +401,7 @@ function abrir_ventana(URL){
?>
</TR>
<TR>
- <TH align=center>&nbsp;<?echo $TbMsg[32]?>&nbsp;</TD>
+ <TH align=center>&nbsp;<?echo $TbMsg[32]?>&nbsp;</TH>
<?
if ($opcion==$op_eliminacion)
echo '<TD colspan=3>'.$paginavalidacion.'</TD>';
@@ -421,14 +416,14 @@ function abrir_ventana(URL){
</TABLE>
</FORM>
</DIV>
-<?
+<?php
//________________________________________________________________________________________________________
include_once("../includes/opcionesbotonesop.php");
//________________________________________________________________________________________________________
?>
</BODY>
</HTML>
-<?
+<?php
//________________________________________________________________________________________________________
// Recupera los datos de un aula
// Parametros:
@@ -454,13 +449,11 @@ function TomaPropiedades($cmd,$ida)
global $idprocedimiento;
global $idrepositorio;
global $idperfilhard;
- global $cache;
global $gidmenu;
global $gidprocedimiento;
global $gidrepositorio;
global $gidperfilhard;
- global $gcache;
###################### ADV
global $router;
global $netmask;
@@ -471,6 +464,9 @@ function TomaPropiedades($cmd,$ida)
global $ipmul;
global $pormul;
global $velmul;
+###################### Ramón
+ global $dns;
+ global $proxy;
###################### UHU
global $validacion;
global $paginalogin;
@@ -494,7 +490,7 @@ function TomaPropiedades($cmd,$ida)
$netmask=0;
$modp2p=0;
$timep2p=0;
-### ADV ########################################
+### ADV ########################################
$modomul=0;
$ipmul=0;
$pormul=0;
@@ -506,24 +502,20 @@ function TomaPropiedades($cmd,$ida)
$idprocedimiento=0;
$idrepositorio=0;
$idperfilhard=0;
- $cache=0;
$gidmenu=0;
$gidprocedimiento=0;
$gidrepositorio=0;
$gidperfilhard=0;
- $gcache=0;
$rs=new Recordset;
- $cmd->texto="SELECT COUNT(ordenadores.idordenador) AS numordenadores, aulas.* ,
+ $cmd->texto="SELECT aulas.*, COUNT(ordenadores.idordenador) AS numordenadores,
GROUP_CONCAT(DISTINCT CAST( ordenadores.idmenu AS char( 11 ) )
ORDER BY ordenadores.idmenu SEPARATOR ',' ) AS idmenus,
GROUP_CONCAT(DISTINCT CAST( ordenadores.idrepositorio AS char( 11 ) )
ORDER BY ordenadores.idrepositorio SEPARATOR ',' ) AS idrepositorios,
GROUP_CONCAT(DISTINCT CAST( ordenadores.idperfilhard AS char( 11 ) )
ORDER BY ordenadores.idperfilhard SEPARATOR ',' ) AS idperfileshard,
- GROUP_CONCAT(DISTINCT CAST( ordenadores.cache AS char( 11 ) )
- ORDER BY ordenadores.cache SEPARATOR ',' ) AS caches,
GROUP_CONCAT(DISTINCT CAST( ordenadores.idproautoexec AS char( 11 ) )
ORDER BY ordenadores.idproautoexec SEPARATOR ',' ) AS idprocedimientos
FROM aulas
@@ -555,11 +547,13 @@ function TomaPropiedades($cmd,$ida)
$netmask=$rs->campos["netmask"];
$modp2p=$rs->campos["modp2p"];
$timep2p=$rs->campos["timep2p"];
-###################### ADV
-###################### UHU
- $validacion=$rs->campos["validacion"];
- $paginalogin=$rs->campos["paginalogin"];
- $paginavalidacion=$rs->campos["paginavalidacion"];
+#################### Ramón
+ $dns=$rs->campos["dns"];
+ $proxy=$rs->campos["proxy"];
+#################### UHU
+ $validacion=$rs->campos["validacion"];
+ $paginalogin=$rs->campos["paginalogin"];
+ $paginavalidacion=$rs->campos["paginavalidacion"];
###################### UHU
$ordenadores=$rs->campos["numordenadores"];
@@ -569,8 +563,6 @@ function TomaPropiedades($cmd,$ida)
if(count(split(",",$idrepositorio))>1) $idrepositorio=0;
$idperfilhard=$rs->campos["idperfileshard"];
if(count(split(",",$idperfilhard))>1) $idperfilhard=0;
- $cache=$rs->campos["caches"];
- if(count(split(",",$cache))>1) $cache=0;
$idmenu=$rs->campos["idmenus"];
if(count(split(",",$idmenu))>1) $idmenu=0;
$idprocedimiento=$rs->campos["idprocedimientos"];
@@ -580,10 +572,8 @@ function TomaPropiedades($cmd,$ida)
$gidprocedimiento=$idprocedimiento;
$gidrepositorio=$idrepositorio;
$gidperfilhard=$idperfilhard;
- $gcache=$cache;
-
+
$rs->Cerrar();
-
return(true);
}
return(false);