aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freenas/www/disks_mount.php
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 12:11:55 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 12:11:55 +0000
commit3cc4e9b45f49fb0b1ea9e65c6910adb4a5297423 (patch)
tree1c442772dd99ca17ef6dd5b92c2738833d65d42b /packages/freenas/www/disks_mount.php
parentf183c1cad7971ca5e8a0ca84027d018b34de190a (diff)
downloadpfsense-packages-3cc4e9b45f49fb0b1ea9e65c6910adb4a5297423.tar.gz
pfsense-packages-3cc4e9b45f49fb0b1ea9e65c6910adb4a5297423.tar.bz2
pfsense-packages-3cc4e9b45f49fb0b1ea9e65c6910adb4a5297423.zip
bugfixing
Diffstat (limited to 'packages/freenas/www/disks_mount.php')
-rw-r--r--packages/freenas/www/disks_mount.php23
1 files changed, 11 insertions, 12 deletions
diff --git a/packages/freenas/www/disks_mount.php b/packages/freenas/www/disks_mount.php
index c2cf2ea4..2a68a509 100644
--- a/packages/freenas/www/disks_mount.php
+++ b/packages/freenas/www/disks_mount.php
@@ -122,7 +122,7 @@ echo $pfSenseHead->getHTML();
<?php if ($savemsg) print_info_box($savemsg); ?>
<form id="iform" name="iform" action="disks_mount.php" method="post">
-<?php if (file_exists($d_diskdirty_path)): ?>
+<?php if (file_exists($d_mountdirty_path)): ?>
<?php print_info_box_np(gettext("The mount point list has been changed.") . "<br />" .
gettext("You must apply the changes in order for them to take effect."));?>
<?php endif; ?>
@@ -155,18 +155,17 @@ echo $pfSenseHead->getHTML();
<?=htmlspecialchars($mount['desc']);?>&nbsp;
</td>
</td>
- <td valign="middle" class="listbg">
+ <td valign="middle" class="listbg" style="color: #FFFFFF;">
<?php
- if (file_exists($d_mountdirty_path))
- $stat=_CONFIGURING;
- else {
- $stat=disks_mount_status($mount);
+ if (file_exists($d_mountdirty_path)) {
+ $stat = gettext("configuring");
+ } else {
+ $stat = disks_mount_status($mount);
if ($stat == "ERROR")
- echo "ERROR - <a href=\"disks_mount.php?act=ret&id=$i\">retry</a>";
- else
- echo $stat;
- }
- ?>&nbsp;
+ $stat = "ERROR - <a href=\"disks_mount.php?act=ret&id=$i\">retry</a>";
+ }
+ echo $stat;
+ ?>
</td>
<td valign="middle" class="list">
<a href="disks_mount_edit.php?id=<?=$i;?>">
@@ -197,7 +196,7 @@ echo $pfSenseHead->getHTML();
</span>
<br />
<span class="vexpl">
- <a href="disk_manage.php">previously configured disk</a>
+ <a href="disks_manage.php">previously configured disk</a>
</span>
</td>
</tr>