diff options
author | adv <adv@uma.es> | 2012-07-05 10:06:50 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2012-07-05 10:06:50 +0000 |
commit | 581c7334d97a6f99c4142efcaffca7ec939cfe85 (patch) | |
tree | 59a1a16eba49e7b5fd542faa698e8de1c4688c0d /admin/WebConsole/comandos/RestaurarImagen.php | |
parent | 316a173e57ac368a3d638c2a122eaced51502741 (diff) |
ticket #545 Habilitar en la consola web el método unicast-cache desde el comando restaurar.
www/comandos/RestaurarImagen.php
interfaceAdm/RestaurarImagen
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3252 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/RestaurarImagen.php')
-rw-r--r-- | admin/WebConsole/comandos/RestaurarImagen.php | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/admin/WebConsole/comandos/RestaurarImagen.php b/admin/WebConsole/comandos/RestaurarImagen.php index 70fab312..50436fc1 100644 --- a/admin/WebConsole/comandos/RestaurarImagen.php +++ b/admin/WebConsole/comandos/RestaurarImagen.php @@ -185,15 +185,19 @@ function pintaParticiones($cmd,$configuraciones,$idordenadores,$cc,$ambito,$idam echo '<TD>'.HTMLSELECT_imagenes($cmd,$tbKeys[$k]["idimagen"],$tbKeys[$k]["numpar"],$tbKeys[$k]["codpar"],$icp,false,$idordenadores,$ambito).'</TD>'; //Clonación - $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 " . torrent_syntax($cmd,$ambito,$idambito) . "=TORRENT-CACHE"; - - $TBmetodos["UNICAST-DIRECT"]=1; - $TBmetodos["MULTICAST-DIRECT"]=2; - $TBmetodos["MULTICAST-CACHE"]=3; - $TBmetodos["TORRENT-CACHE"]=4; + + $metodos="UNICAST=UNICAST-CACHE".chr(13); + $metodos.="UNICAST-DIRECT=UNICAST-DIRECT".chr(13); + $metodos.="MULTICAST " . mcast_syntax($cmd,$ambito,$idambito) . "=MULTICAST-CACHE".chr(13); + $metodos.="MULTICAST-DIRECT " . mcast_syntax($cmd,$ambito,$idambito) . "=MULTICAST-DIRECT".chr(13); + $metodos.="TORRENT " . torrent_syntax($cmd,$ambito,$idambito) . "=TORRENT-CACHE"; + + $TBmetodos["UNICAST-CACHE"]=1; + $TBmetodos["UNICAST-DIRECT"]=2; + $TBmetodos["MULTICAST-CACHE"]=3; + $TBmetodos["MULTICAST-DIRECT"]=4; + $TBmetodos["TORRENT-CACHE"]=5; + $idxc=$_SESSION["protclonacion"]; echo '<TD>'.HTMLCTESELECT($metodos,"protoclonacion_".$icp,"estilodesple","",$TBmetodos[$idxc],100).'</TD>'; |