Make FTP Its own area with header bar
This commit is contained in:
Scott Ullrich 2005-11-06 23:28:24 +00:00
parent 89d1f0f27f
commit da56c4d74c
4 changed files with 44 additions and 18 deletions

View File

@ -671,6 +671,20 @@ function type_change(enable_change,enable_change_pptp) {
<td class="vtable">
<input name="bigpond_minheartbeatinterval" type="text" class="formfld" id="bigpond_minheartbeatinterval" size="8" value="<?=htmlspecialchars($pconfig['bigpond_minheartbeatinterval']);?>">seconds<br>Setting this to a sensible value (e.g. 60 seconds) can protect against DoS attacks. </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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
<?php
/* Wireless interface? */
if (isset($wancfg['wireless']))
@ -699,14 +713,7 @@ function type_change(enable_change,enable_change_pptp) {
are reserved (but not RFC 1918) or not yet assigned by IANA.<br>
Bogons are prefixes that should never appear in the Internet routing table, and obviously should not appear as the source address in any packets you receive.</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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
<tr>
<td width="100" valign="top">&nbsp;</td>
<td> &nbsp;<br> <input name="Submit" type="submit" class="formbtn" value="Save" onClick="enable_change_pptp(true)&&enable_change(true)">

View File

@ -242,6 +242,12 @@ function enable_change(enable_over) {
<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">
@ -249,7 +255,7 @@ function enable_change(enable_over) {
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">

View File

@ -424,6 +424,12 @@ 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">
@ -431,7 +437,7 @@ function type_change(enable_change,enable_change_pptp) {
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">

View File

@ -671,6 +671,20 @@ function type_change(enable_change,enable_change_pptp) {
<td class="vtable">
<input name="bigpond_minheartbeatinterval" type="text" class="formfld" id="bigpond_minheartbeatinterval" size="8" value="<?=htmlspecialchars($pconfig['bigpond_minheartbeatinterval']);?>">seconds<br>Setting this to a sensible value (e.g. 60 seconds) can protect against DoS attacks. </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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
<?php
/* Wireless interface? */
if (isset($wancfg['wireless']))
@ -699,14 +713,7 @@ function type_change(enable_change,enable_change_pptp) {
are reserved (but not RFC 1918) or not yet assigned by IANA.<br>
Bogons are prefixes that should never appear in the Internet routing table, and obviously should not appear as the source address in any packets you receive.</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($config['system']['disableftpproxy'])) echo "checked"; ?> onclick="enable_change(false)" />
<strong>Disable the userland FTP-Proxy application</strong>
<br />
</td>
</tr>
<tr>
<td width="100" valign="top">&nbsp;</td>
<td> &nbsp;<br> <input name="Submit" type="submit" class="formbtn" value="Save" onClick="enable_change_pptp(true)&&enable_change(true)">