diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-08 01:29:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-08 01:29:54 +0000 |
commit | 0135299b4077da12d21f9fe9e727da44b9844f2c (patch) | |
tree | 74196309413d8531fbc9d731b8373e519e13a2b5 /usr/local | |
parent | bcd3f3adfd4718242fd6ed095ab86b0cd6bb6631 (diff) | |
download | pfsense-0135299b4077da12d21f9fe9e727da44b9844f2c.zip pfsense-0135299b4077da12d21f9fe9e727da44b9844f2c.tar.gz |
Correctly check/uncheck FTP Helper
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_lan.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 2 |
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> |