summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/RestaurarImagen.php
diff options
context:
space:
mode:
authoradv <adv@uma.es>2012-01-09 16:48:20 +0000
committeradv <adv@uma.es>2012-01-09 16:48:20 +0000
commitc25ddaf76541d555807d9dd7541f3605f1a52dad (patch)
tree120197f623db3528c6d2a535f77923f5656d0163 /admin/WebConsole/comandos/RestaurarImagen.php
parent758267afd4be6d1557ff669786c007544af18189 (diff)
1.0.3 comando restaurar directo multicast unicast #475
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2424 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/RestaurarImagen.php')
-rw-r--r--admin/WebConsole/comandos/RestaurarImagen.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/admin/WebConsole/comandos/RestaurarImagen.php b/admin/WebConsole/comandos/RestaurarImagen.php
index 318d91ca..78456199 100644
--- a/admin/WebConsole/comandos/RestaurarImagen.php
+++ b/admin/WebConsole/comandos/RestaurarImagen.php
@@ -190,15 +190,18 @@ function pintaParticiones($cmd,$configuraciones,$idordenadores,$cc,$ambito,$idam
echo '<TD>'.HTMLSELECT_imagenes($cmd,$tbKeys[$k]["idimagen"],$tbKeys[$k]["numpar"],$tbKeys[$k]["codpar"],$icp,true,$idordenadores,$ambito).'</TD>';
echo '<TD>'.HTMLSELECT_imagenes($cmd,$tbKeys[$k]["idimagen"],$tbKeys[$k]["numpar"],$tbKeys[$k]["codpar"],$icp,false,$idordenadores,$ambito).'</TD>';
- //ClonaciĆ³n
+ //ClonaciĆ³n
- $metodos="UNICAST=UNICAST".chr(13);
- $metodos.=mcast_syntax($cmd,$ambito,$idambito) . "=MULTICAST".chr(13);
+ $metodos="UNICAST-DIRECT=UNICAST-DIRECT".chr(13);
+ $metodos.="MULTICAST-DIRECT " . mcast_syntax($cmd,$ambito,$idambito) . "=MULTICAST-DIRECT".chr(13);
+ $metodos.="MULTICAST " . mcast_syntax($cmd,$ambito,$idambito) . "=MULTICAST-CACHE".chr(13);
$metodos.="TORRENT peer:60=TORRENT";
- $TBmetodos["UNICAST"]=1;
- $TBmetodos["MULTICAST"]=2;
- $TBmetodos["TORRENT"]=3;
+ $TBmetodos["UNICAST-DIRECT"]=1;
+ $TBmetodos["MULTICAST-DIRECT"]=2;
+ $TBmetodos["MULTICAST-CACHE"]=3;
+ $TBmetodos["TORRENT"]=4;
+
$idxc=$_SESSION["protclonacion"];
echo '<TD>'.HTMLCTESELECT($metodos,"protoclonacion_".$icp,"estilodesple","",$TBmetodos[$idxc],100).'</TD>';
}
@@ -303,7 +306,7 @@ $cmd->texto='SELECT aulas.pormul,aulas.ipmul,aulas.modomul,aulas.velmul,aulas.mo
$rs->Comando=&$cmd;
if ($rs->Abrir()){
$rs->Primero();
- $mcastsyntax.='MULTICAST ' . $rs->campos["pormul"] . ':';
+ $mcastsyntax.= $rs->campos["pormul"] . ':';
$rs->Siguiente();
switch ($rs->campos["modomul"])