Move FTP Helper to above wireless portion. Uncheck box correctly on page restore.

This commit is contained in:
Scott Ullrich 2005-11-08 00:46:23 +00:00
parent b1f2356868
commit 3c393400db
2 changed files with 29 additions and 14 deletions

View File

@ -216,6 +216,20 @@ function enable_change(enable_over) {
?>
</select></td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
</tr>
<tr>
<td colspan="2" valign="top" class="listtopic">FTP Helper</td>
</tr>
<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)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
<?php /* Wireless interface? */
if (isset($lancfg['wireless']))
wireless_config_print();

View File

@ -386,6 +386,20 @@ function type_change(enable_change,enable_change_pptp) {
If you have multiple WAN connections, enter the next hop gateway (router) IP address here. Otherwise, leave this option blank.
</td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
</tr>
<tr>
<td colspan="2" valign="top" class="listtopic">FTP Helper</td>
</tr>
<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)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
<?php /* Wireless interface? */
if (isset($optcfg['wireless']))
wireless_config_print();
@ -424,20 +438,7 @@ function type_change(enable_change,enable_change_pptp) {
<br> The bandwidth setting will define the speed of the interface for traffic shaping. Do not enter your "Internet" bandwidth here, only the physical speed!
</td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
</tr>
<tr>
<td colspan="2" valign="top" class="listtopic">FTP Helper</td>
</tr>
<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)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">