diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-05 07:20:22 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-05 07:20:22 +0000 |
commit | 0186d996c21f1e24d40194fcb48bf12b89d579fd (patch) | |
tree | ed8ee8ce73640dc99a690b63af970746eb89fa59 /packages/freenas/www | |
parent | 55b6ad84bb898c20f30cdf5d4c94c04cb21ebd22 (diff) | |
download | pfsense-packages-0186d996c21f1e24d40194fcb48bf12b89d579fd.tar.gz pfsense-packages-0186d996c21f1e24d40194fcb48bf12b89d579fd.tar.bz2 pfsense-packages-0186d996c21f1e24d40194fcb48bf12b89d579fd.zip |
* fix: usorting disks in freenas_guiconfig.inc
Diffstat (limited to 'packages/freenas/www')
-rw-r--r-- | packages/freenas/www/disks_manage_tools.php | 41 | ||||
-rw-r--r-- | packages/freenas/www/disks_mount_tools.php | 6 |
2 files changed, 16 insertions, 31 deletions
diff --git a/packages/freenas/www/disks_manage_tools.php b/packages/freenas/www/disks_manage_tools.php index a0bb3901..63ecc393 100644 --- a/packages/freenas/www/disks_manage_tools.php +++ b/packages/freenas/www/disks_manage_tools.php @@ -156,53 +156,39 @@ function disk_change() { <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("Partition");?></td> <td width="78%" class="vtable"> - <td valign="top" class="vncellreq"><?=_PARTITION;?></td> - <td class="vtable"> - <select name="partition" class="formfld" id="partition"></select> - </td> + <select name="partition" class="formfld" id="partition"></select> </td> </tr> <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("Command");?></td> <td width="78%" class="vtable"> - <td valign="top" class="vncellreq"><?=_PARTITION;?></td> - <td class="vtable"> - <select name="action" class="formfld" id="action"> - <option value="fsck" <?php if ($action == "fsck") echo "selected"; ?>>fsck</option> - </select> - </td> + <select name="action" class="formfld" id="action"> + <option value="fsck" <?php if ($action == "fsck") echo "selected"; ?>>fsck</option> + </select> </td> </tr> <tr> <td width="22%" valign="top" class="vncellreq"></td> <td width="78%" class="vtable"> - <td valign="top" class="vncellreq"><?=_PARTITION;?></td> - <td class="vtable"> - <input name="umount" type="checkbox" id="umount" value="yes" <?php if ($umount) echo "checked"; ?> /> - <strong> - <?= gettext("Unmount disk/partition"); ?> - </strong> - <span class="vexpl"> - <br /> - <?= gettext("If the selected disk/partition is mounted it will be unmounted temporary to perform selected command, otherwise the commands work in read-only mode."); ?> - </span> - </td> + <input name="umount" type="checkbox" id="umount" value="yes" <?php if ($umount) echo "checked"; ?> /> + <strong> + <?= gettext("Unmount disk/partition"); ?> + </strong> + <span class="vexpl"> + <br /> + <?= gettext("If the selected disk/partition is mounted it will be unmounted temporary to perform selected command, otherwise the commands work in read-only mode."); ?> + </span> </td> </tr> <tr> <td width="22%" valign="top" class="vncellreq"> </td> <td width="78%" class="vtable"> - <td valign="top" class="vncellreq"><?=_PARTITION;?></td> - <td class="vtable"> - <input name="Submit" type="submit" class="formbtn" value="<?= gettext("Send Command!"); ?>"> - </td> + <input name="Submit" type="submit" class="formbtn" value="<?= gettext("Send Command!"); ?>"> </td> </tr> <tr> <td width="22%" valign="top" class="vncellreq"> </td> <td width="78%" class="vtable"> - <td valign="top" class="vncellreq"><?=_PARTITION;?></td> - <td class="vtable"> <?php if($do_action) { @@ -256,7 +242,6 @@ function disk_change() { echo('</pre>'); } ?> - </td> </td> </tr> </table> diff --git a/packages/freenas/www/disks_mount_tools.php b/packages/freenas/www/disks_mount_tools.php index 6c3710d5..abd31b62 100644 --- a/packages/freenas/www/disks_mount_tools.php +++ b/packages/freenas/www/disks_mount_tools.php @@ -120,7 +120,7 @@ echo $pfSenseHead->getHTML(); <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> -<form id="iform" name="iform" action="disks_mount.php" method="post"> +<form id="iform" name="iform" action="disks_mount_tools.php" method="post"> <div id="inputerrors"></div> <table width="100%" border="0" cellpadding="0" cellspacing="0"> @@ -181,11 +181,11 @@ echo $pfSenseHead->getHTML(); switch($action) { case "mount": - echo(gettext("Mounting...") . "<br />"); + echo(gettext("Mounting '{$fullname}'...") . "<br />"); $result = disks_mount_fullname($fullname); break; case "umount": - echo(gettext("Umounting...") . "<br />"); + echo(gettext("Umounting '{$fullname}'...") . "<br />"); $result = disks_umount_fullname($fullname); break; } |