diff options
author | ramon <ramongomez@us.es> | 2011-04-12 07:54:43 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-04-12 07:54:43 +0000 |
commit | f1de548fac705acc3f6da4620482d5f47ea69c6d (patch) | |
tree | 7030fee6f0c4fca89c0dd2271a95c619265ab5b2 | |
parent | 1ec9b7a756d2b67a9e38b9a16a9ed43cc31632a5 (diff) |
Versión 1.0: Asistente particionado marca partición vacía de tamaño 0 y corregidos algunos mensjaes (modificado #364).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1819 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r-- | admin/WebConsole/asistentes/includes/asistentes/formParticionado.php | 22 | ||||
-rw-r--r-- | admin/WebConsole/asistentes/jscripts/asistentes.js | 6 |
2 files changed, 14 insertions, 14 deletions
diff --git a/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php b/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php index f2f08bac..cbeb642b 100644 --- a/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php +++ b/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php @@ -1,13 +1,13 @@ <TR> -<TD > Particion </TD> +<TD > Partición </TD> <TD > Tipo </TD> -<TD > Tamano KB </TD> +<TD > Tamaño KB </TD> </TR> <TR> -<TD > <input type="checkbox" name="check1" value="check1" onclick="if (this.form.check1.checked) { this.form.part1.disabled=false; this.form.size1.disabled=false } else { this.form.part1.disabled=true; this.form.size1.disabled=true; this.form.part1custom.disabled=true; this.form.size1custom.disabled=true }" /> <br> Particion 1 </TD> +<TD > <input type="checkbox" name="check1" value="check1" onclick="if (this.form.check1.checked) { this.form.part1.disabled=false; this.form.size1.disabled=false } else { this.form.part1.disabled=true; this.form.size1.disabled=true; this.form.part1custom.disabled=true; this.form.size1custom.disabled=true }" /> <br> Partición 1 </TD> <TD> <select name="part1" id="part1" style="WIDTH:220" disabled="true" onclick="if (this.form.part1.options[this.form.part1.selectedIndex].value == 'CUSTOM') { this.form.part1custom.disabled=false; this.form.part1.disabled=true }" > <?php echo ''. htmlForm_typepart($cmd,1) .''; ?> @@ -23,10 +23,10 @@ <option value="CUSTOM"> Personalizar </option> </select> <br > -<INPUT type="text" style="width:100" name="size1custom" value="1" disabled="true"></TD> +<INPUT type="text" style="width:100" name="size1custom" value="0" disabled="true"></TD> </TR> -<TD > <input type="checkbox" name="check2" value="check2" onclick="if (this.form.check2.checked) { this.form.part2.disabled=false; this.form.size2.disabled=false } else { this.form.part2.disabled=true; this.form.size2.disabled=true; this.form.part2custom.disabled=true; this.form.size2custom.disabled=true }" /> <br> Particion 2 </TD> +<TD > <input type="checkbox" name="check2" value="check2" onclick="if (this.form.check2.checked) { this.form.part2.disabled=false; this.form.size2.disabled=false } else { this.form.part2.disabled=true; this.form.size2.disabled=true; this.form.part2custom.disabled=true; this.form.size2custom.disabled=true }" /> <br> Partición 2 </TD> <TD><select name="part2" id="part2" style="WIDTH:220" disabled="true" onclick="if (this.form.part2.options[this.form.part2.selectedIndex].value == 'CUSTOM') { this.form.part2custom.disabled=false; this.form.part2.disabled=true }" > <?php echo ''. htmlForm_typepart($cmd,2) .''; ?> <option value="CUSTOM"> Personalizar </option> @@ -41,11 +41,11 @@ <option value="CUSTOM"> Personalizar </option> </select> <br > -<INPUT type="text" style="width:100" name="size2custom" value="1" disabled="true"></TD> +<INPUT type="text" style="width:100" name="size2custom" value="0" disabled="true"></TD> </TR> -<TD > <input type="checkbox" name="check3" value="check3" onclick="if (this.form.check3.checked) { this.form.part3.disabled=false; this.form.size3.disabled=false } else { this.form.part3.disabled=true; this.form.size3.disabled=true; this.form.part3custom.disabled=true; this.form.size3custom.disabled=true }" /> <br> Particion 3 </TD> +<TD > <input type="checkbox" name="check3" value="check3" onclick="if (this.form.check3.checked) { this.form.part3.disabled=false; this.form.size3.disabled=false } else { this.form.part3.disabled=true; this.form.size3.disabled=true; this.form.part3custom.disabled=true; this.form.size3custom.disabled=true }" /> <br> Partición 3 </TD> <TD><select name="part3" id="part3" style="WIDTH:220" disabled="true" onclick="if (this.form.part3.options[this.form.part3.selectedIndex].value == 'CUSTOM') { this.form.part3custom.disabled=false; this.form.part3.disabled=true }" > <?php echo ''. htmlForm_typepart($cmd,3) .''; ?> <option value="CUSTOM"> Personalizar </option> @@ -60,18 +60,18 @@ <option value="CUSTOM"> Personalizar </option> </select> <br > -<INPUT type="text" style="width:100" name="size3custom" value="1" disabled="true"></TD> +<INPUT type="text" style="width:100" name="size3custom" value="0" disabled="true"></TD> </TR> <TR> -<TD > <input type="checkbox" name="check4" value="check4" onclick="if (this.form.check4.checked) { this.form.part4.disabled=false; this.form.size4.disabled=false } else { this.form.part4.disabled=true; this.form.size4.disabled=true }" /> <br> Particion 4 </TD> +<TD > <input type="checkbox" name="check4" value="check4" onclick="if (this.form.check4.checked) { this.form.part4.disabled=false; this.form.size4.disabled=false } else { this.form.part4.disabled=true; this.form.size4.disabled=true }" /> <br> Partición 4 </TD> <TD> <INPUT type="label" readonly size="8" name="part4" disabled="true" value="CACHE"></TD> <TD><select name="size4" id="size4" style="WIDTH:220" disabled="true" onclick="if (this.form.size4.options[this.form.size4.selectedIndex].value == 'CUSTOM') { this.form.size4custom.disabled=false; this.form.size4.disabled=true }" > - <option value="0"> Sin modificar tamanio </option> + <option value="0"> Sin modificar tamaño </option> <?php echo ''. htmlForm_sizepart($cmd,4) .''; ?> <option value="CUSTOM"> Personalizar </option> </select> <br > <INPUT type="text" style="width:100" name="size4custom" value="0" disabled="true"></TD> -</TR>
\ No newline at end of file +</TR> diff --git a/admin/WebConsole/asistentes/jscripts/asistentes.js b/admin/WebConsole/asistentes/jscripts/asistentes.js index 5c5f9c40..3dd08014 100644 --- a/admin/WebConsole/asistentes/jscripts/asistentes.js +++ b/admin/WebConsole/asistentes/jscripts/asistentes.js @@ -50,7 +50,7 @@ if (form.check1.checked) { } else { - value1 = "EMPTY:1" + value1 = "EMPTY:0" } if (form.check2.checked) { if (form.part2.value == "CUSTOM" ) {value2 = form.part2custom.value} @@ -60,7 +60,7 @@ if (form.check2.checked) { } else { - value2 = "EMPTY:1" + value2 = "EMPTY:0" } if (form.check3.checked) { if (form.part3.value == "CUSTOM" ) {value3 = form.part3custom.value} @@ -70,7 +70,7 @@ if (form.check3.checked) { } else { - value3 = "EMPTY:1" + value3 = "EMPTY:0" } if (form.size4.value == "0") { |