summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/asistentes/AsistenteParticionado.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-12-22 13:38:11 +0000
committerramon <ramongomez@us.es>2011-12-22 13:38:11 +0000
commitc3c7cb3ae6f6600223111a572050f34f2df6fa71 (patch)
tree96fce1db6bf64fee2845d3a48abcbe07d9937562 /admin/WebConsole/asistentes/AsistenteParticionado.php
parent4caea352de0d0a19d4e0a2e2dd04980dd28e6be0 (diff)
Congelar versiĆ³n 1.0.2 en tags/opengnsys-1.0.2 (modifica #446).opengnsys-1.0.2
git-svn-id: https://opengnsys.es/svn/tags/opengnsys-1.0.2@2405 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/asistentes/AsistenteParticionado.php')
-rw-r--r--admin/WebConsole/asistentes/AsistenteParticionado.php21
1 files changed, 16 insertions, 5 deletions
diff --git a/admin/WebConsole/asistentes/AsistenteParticionado.php b/admin/WebConsole/asistentes/AsistenteParticionado.php
index de1b5f72..3483ab9b 100644
--- a/admin/WebConsole/asistentes/AsistenteParticionado.php
+++ b/admin/WebConsole/asistentes/AsistenteParticionado.php
@@ -59,7 +59,18 @@ $xajax->printJavascript('../xajax/');
</head>
-<body>
+<body onload="
+ var disks=document.getElementsByName('disksize');
+ var min=null;
+ for (var i=0; i<disks.length; i++) {
+ var val=parseInt(disks[i].textContent);
+ if (min==null || val<min) {
+ min=val;
+ }
+ }
+ document.getElementById('minsize').value=min;
+ document.getElementById('freedisk').value=min;
+">
<?
switch($ambito){
case $AMBITO_CENTROS :
@@ -111,10 +122,10 @@ switch($ambito){
?>
<tr>
- <th colspan="5"><INPUT TYPE="button" NAME="GenerarInstruccion" Value="Generar InstruccionOG" onClick="codeParticionado(this.form)"> </th>
- <td><textarea class="cajatexto" name="codigo" cols="70" rows="7"></textarea></td>
+ <th><input type="button" name="GenerarInstruccion" Value="<?php echo $TbMsg[41];?>" onclick="codeParticionado(this.form)" /> </th>
+ <td colspan="2"><textarea class="cajatexto" name="codigo" cols="70" rows="7"></textarea></td>
</tr>
- </table>
+ </table>
</form>
<?
@@ -133,4 +144,4 @@ switch($ambito){
</body>
-</html> \ No newline at end of file
+</html>