summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/asistentes/includes
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-08-09 09:45:49 +0000
committerramon <ramongomez@us.es>2011-08-09 09:45:49 +0000
commit66d40b0a130bea75d20ce18800084a96c1c53919 (patch)
tree9ae6c295846f56408da6634494d427d010b5db58 /admin/WebConsole/asistentes/includes
parent3feb97ac58239a2512d7236a28f54e40bce980c0 (diff)
Versión 1.0.2: el asistente de particionado soporta hasta 5 particiones lógicas (modificar #434)
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2279 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/asistentes/includes')
-rw-r--r--admin/WebConsole/asistentes/includes/asistentes/formParticionado.php62
1 files changed, 57 insertions, 5 deletions
diff --git a/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php b/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php
index 08befb0b..46207e15 100644
--- a/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php
+++ b/admin/WebConsole/asistentes/includes/asistentes/formParticionado.php
@@ -17,16 +17,18 @@ for ($p=1; $p<4; $p++) {
<input type="checkbox" name="check'.$p.'" value="check'.$p.'" onclick="clickPartitionCheckbox(this.form, '.$p.');" /> '.$TbMsg[20].' '.$p.'</td>
<td>
<select name="part'.$p.'" id="part'.$p.'" style="width:220" disabled="true" onclick="
- if (this.form.part'.$p.'.options[this.form.part'.$p.'.selectedIndex].value == \'CUSTOM\') {
+ //if (this.form.part'.$p.'.options[this.form.part'.$p.'.selectedIndex].value == \'CUSTOM\') {
+ if (this.options[this.selectedIndex].value == \'CUSTOM\') {
this.form.part'.$p.'custom.disabled=false;
} else {
this.form.part'.$p.'custom.disabled=true;
}
-">'. htmlForm_typepart($cmd,$p). '
+" onchange="checkExtendedPartition(form);">'
+ .htmlForm_typepart($cmd,$p).'
<option value="CUSTOM"> '.$TbMsg[39].' </option>
</select>
<br>
-<select name="part'.$p.'custom" id="part'.$p.'custom" style="width:220" disabled="true" >'. htmlForm_typepartnotcacheEngine10($p) .'</select>
+<select name="part'.$p.'custom" id="part'.$p.'custom" style="width:220" disabled="true" onchange="checkExtendedPartition(form);">'. htmlForm_typepartnotcacheEngine10($p) .'</select>
</td>
<td>
<select name="size'.$p.'" id="size'.$p.'" style="width:220" disabled="true" onclick="
@@ -35,8 +37,8 @@ for ($p=1; $p<4; $p++) {
} else {
this.form.size'.$p.'custom.disabled=true;
}
-" onchange="calculateFreeDisk(this.form);"
-">'.htmlForm_sizepart($cmd,$p).'
+" onchange="calculateFreeDisk(this.form);">'
+ .htmlForm_sizepart($cmd,$p).'
<option value="CUSTOM"> '.$TbMsg[39].'</option>
</select>
<br />
@@ -62,6 +64,56 @@ for ($p=1; $p<4; $p++) {
</table>
</td>
+<td>
+<table id="logicas" style="visibility:hidden">
+<caption><?php echo $TbMsg[37]?></caption>
+<tr>
+<td><?php echo $TbMsg[20]?></td>
+<td><?php echo $TbMsg[24]?></td>
+<td><?php echo $TbMsg[22]?></td>
+</tr>
+
+<?php
+for ($p=5; $p<=9; $p++) {
+ echo '
+<tr>
+<td>
+<input type="checkbox" name="check'.$p.'" value="check'.$p.'" onclick="clickPartitionCheckbox(this.form, '.$p.');" /> '.$TbMsg[20].' '.$p.'</td>
+<td>
+<select name="part'.$p.'" id="part'.$p.'" style="width:220" disabled="true" onclick="
+ if (this.form.part'.$p.'.options[this.form.part'.$p.'.selectedIndex].value == \'CUSTOM\') {
+ this.form.part'.$p.'custom.disabled=false;
+ } else {
+ this.form.part'.$p.'custom.disabled=true;
+ }
+">'. htmlForm_typepart($cmd,$p). '
+ <option value="CUSTOM"> '.$TbMsg[39].' </option>
+</select>
+<br>
+<select name="part'.$p.'custom" id="part'.$p.'custom" style="width:220" disabled="true" >'. htmlForm_typepartnotcacheEngine10($p) .'</select>
+</td>
+<td>
+<select name="size'.$p.'" id="size'.$p.'" style="width:220" disabled="true" onclick="
+ if (this.form.size'.$p.'.options[this.form.size'.$p.'.selectedIndex].value == \'CUSTOM\') {
+ this.form.size'.$p.'custom.disabled=false;
+ } else {
+ this.form.size'.$p.'custom.disabled=true;
+ }
+" onchange="calculateFreeDisk(this.form);"
+">'.htmlForm_sizepart($cmd,$p).'
+ <option value="CUSTOM"> '.$TbMsg[39].'</option>
+</select>
+<br />
+<input type="text" style="width:100" name="size'.$p.'custom" value="0" disabled="true" />
+</td>
+</tr>
+ ';
+}
+?>
+
+</table>
+</td>
+
</tr>
<tr>