diff options
Diffstat (limited to 'admin/WebConsole/comandos/Configurar.php')
-rw-r--r-- | admin/WebConsole/comandos/Configurar.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/WebConsole/comandos/Configurar.php b/admin/WebConsole/comandos/Configurar.php index 5474294c..7a634c3c 100644 --- a/admin/WebConsole/comandos/Configurar.php +++ b/admin/WebConsole/comandos/Configurar.php @@ -129,7 +129,7 @@ if (isset($_POST["fk_nombreSO"])) $fk_nombreSO=$_POST["fk_nombreSO"]; echo '<TABLE style="visibility:hidden"><TR id="TR_patron">'; echo '<TD align=center><input id="CHK_patron" type="checkbox"></TD>'; echo '<TD align=center>'.HTMLSELECT_particiones(0).'</TD>'; - echo '<TD align=center>'.HTMLSELECT_tipospar($cmd,"").'</TD>'; + echo '<TD align=center>'.HTMLSELECT_tipospar("").'</TD>'; echo '<TD align=center>'.HTMLSELECT_sistemasficheros($cmd,"").'</TD>'; echo '<TD align=center><INPUT type="text" style="width:100px" value="0"></TD>'; echo '<TD align=center> </TD>'; @@ -172,10 +172,11 @@ function opeFormatear() /*________________________________________________________________________________________________________ Crea la etiqueta html <SELECT> de los tipos de particiones ________________________________________________________________________________________________________*/ -function HTMLSELECT_tipospar($cmd,$codpar) +function HTMLSELECT_tipospar($codpar) { - return(HTMLSELECT($cmd,0,"tipospar",$codpar,"tipopar","tipopar",150,"","formulariodatos","codpar<256")); -} + $json=json_decode(file_get_contents(ENGINEJSON)); + return(htmlSelectPartitions($json, $codpar, "tipopar", 150, "", "formulariodatos", "MSDOS")); +} /*________________________________________________________________________________________________________ Crea la etiqueta html <SELECT> de los sistemas de ficheros ________________________________________________________________________________________________________*/ @@ -183,5 +184,4 @@ function HTMLSELECT_sistemasficheros($cmd,$idsistemafichero) { return(HTMLSELECT($cmd,0,"sistemasficheros",$idsistemafichero,"idsistemafichero","descripcion",150,"","formulariodatos")); } -?> |