Use $pconfig
This commit is contained in:
Scott Ullrich 2005-11-06 23:51:28 +00:00
parent da56c4d74c
commit c2ce153a12
4 changed files with 4 additions and 4 deletions

View File

@ -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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>

View File

@ -251,7 +251,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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>

View File

@ -433,7 +433,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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>

View File

@ -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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<input name="disableftpproxy" type="checkbox" id="disableftpproxy" value="yes" <?php if (isset($pconfig['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>