summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-08 01:29:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-08 01:29:54 +0000
commit0135299b4077da12d21f9fe9e727da44b9844f2c (patch)
tree74196309413d8531fbc9d731b8373e519e13a2b5 /usr
parentbcd3f3adfd4718242fd6ed095ab86b0cd6bb6631 (diff)
downloadpfsense-0135299b4077da12d21f9fe9e727da44b9844f2c.zip
pfsense-0135299b4077da12d21f9fe9e727da44b9844f2c.tar.gz
Correctly check/uncheck FTP Helper
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
-rwxr-xr-xusr/local/www/interfaces_lan.php2
-rwxr-xr-xusr/local/www/interfaces_opt.php2
-rwxr-xr-xusr/local/www/interfaces_wan.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 139d944..9f63556 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -680,7 +680,7 @@ function type_change(enable_change,enable_change_pptp) {
<tr>
<td width="22%" valign="top" class="vncell">FTP Helper</td>
<td width="78%" class="vtable">
- <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
+ <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if ($pconfig['disableftpproxy']) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index 8c6f10c..d30800d 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -225,7 +225,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">FTP Helper</td>
<td width="78%" class="vtable">
- <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
+ <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if ($pconfig['disableftpproxy']) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index f8f448f..75dbf46 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -395,7 +395,7 @@ function type_change(enable_change,enable_change_pptp) {
<tr>
<td width="22%" valign="top" class="vncell">FTP Helper</td>
<td width="78%" class="vtable">
- <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
+ <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if ($pconfig['disableftpproxy']) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index 139d944..9f63556 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -680,7 +680,7 @@ function type_change(enable_change,enable_change_pptp) {
<tr>
<td width="22%" valign="top" class="vncell">FTP Helper</td>
<td width="78%" class="vtable">
- <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
+ <input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if ($pconfig['disableftpproxy']) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
OpenPOWER on IntegriCloud