summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-03-07 17:31:24 -0800
committerJim P <jim@pingle.org>2013-03-07 17:31:24 -0800
commit05f74604b6040eb32135511f7f4d80e46afc2740 (patch)
treece03aa8a04c8551aeb97923ff26d8003654c0b39 /usr/local
parent0202cdda87361fa67749e208b8dfba5ea08e0877 (diff)
parent3410a6c5c53bb38cb3b880e392f851b3bc28bdbb (diff)
downloadpfsense-05f74604b6040eb32135511f7f4d80e46afc2740.zip
pfsense-05f74604b6040eb32135511f7f4d80e46afc2740.tar.gz
Merge pull request #473 from ExolonDX/branch_04
Tidy up System:Advanced:Network XHTML
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/system_advanced_network.php48
1 files changed, 24 insertions, 24 deletions
diff --git a/usr/local/www/system_advanced_network.php b/usr/local/www/system_advanced_network.php
index c8035c9..7a4df3e 100644
--- a/usr/local/www/system_advanced_network.php
+++ b/usr/local/www/system_advanced_network.php
@@ -153,8 +153,8 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<script language="JavaScript">
-<!--
+<script type="text/javascript">
+//<![CDATA[
function enable_change(enable_over) {
if (document.iform.ipv6nat_enable.checked || enable_over)
@@ -163,7 +163,7 @@ function enable_change(enable_over) {
document.iform.ipv6nat_ipaddr.disabled = 1;
}
-//-->
+//]]>
</script>
@@ -174,7 +174,7 @@ function enable_change(enable_over) {
print_info_box($savemsg);
?>
<form action="system_advanced_network.php" method="post" name="iform" id="iform">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="system advanced newtwork">
<tr>
<td>
<?php
@@ -194,20 +194,20 @@ function enable_change(enable_over) {
<div class="tabcont">
<span class="vexpl">
<span class="red">
- <strong><?=gettext("NOTE:"); ?>&nbsp</strong>
+ <strong><?=gettext("NOTE:"); ?>&nbsp;</strong>
</span>
<?=gettext("The options on this page are intended for use by advanced users only."); ?>
<br/>
</span>
<br/>
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("IPv6 Options"); ?></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Allow IPv6"); ?></td>
<td width="78%" class="vtable">
- <input name="ipv6allow" type="checkbox" id="ipv6allow" value="yes" <?php if ($pconfig['ipv6allow']) echo "checked"; ?> onclick="enable_change(false)" />
+ <input name="ipv6allow" type="checkbox" id="ipv6allow" value="yes" <?php if ($pconfig['ipv6allow']) echo "checked=\"checked\""; ?> onclick="enable_change(false)" />
<strong><?=gettext("Allow IPv6"); ?></strong><br/>
<?=gettext("All IPv6 will be blocked unless this box is checked."); ?><br/>
<br/>
@@ -216,7 +216,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("IPv6 over IPv4 Tunneling"); ?></td>
<td width="78%" class="vtable">
- <input name="ipv6nat_enable" type="checkbox" id="ipv6nat_enable" value="yes" <?php if ($pconfig['ipv6nat_enable']) echo "checked"; ?> onclick="enable_change(false)" />
+ <input name="ipv6nat_enable" type="checkbox" id="ipv6nat_enable" value="yes" <?php if ($pconfig['ipv6nat_enable']) echo "checked=\"checked\""; ?> onclick="enable_change(false)" />
<strong><?=gettext("Enable IPv4 NAT encapsulation of IPv6 packets"); ?></strong><br/>
<?=gettext("This provides an RFC 2893 compatibility mechanism ".
"that can be used to tunneling IPv6 packets over IPv4 ".
@@ -236,41 +236,41 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Device polling"); ?></td>
<td width="78%" class="vtable">
- <input name="polling_enable" type="checkbox" id="polling_enable" value="yes" <?php if ($pconfig['polling_enable']) echo "checked"; ?>>
- <strong><?=gettext("Enable device polling"); ?></strong><br>
+ <input name="polling_enable" type="checkbox" id="polling_enable" value="yes" <?php if ($pconfig['polling_enable']) echo "checked=\"checked\""; ?> />
+ <strong><?=gettext("Enable device polling"); ?></strong><br />
<?php printf(gettext("Device polling is a technique that lets the system periodically poll network devices for new data instead of relying on interrupts. This prevents your webConfigurator, SSH, etc. from being inaccessible due to interrupt floods when under extreme load. Generally this is not recommended. Not all NICs support polling; see the %s homepage for a list of supported cards."), $g['product_name']); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Hardware Checksum Offloading"); ?></td>
<td width="78%" class="vtable">
- <input name="disablechecksumoffloading" type="checkbox" id="disablechecksumoffloading" value="yes" <?php if (isset($config['system']['disablechecksumoffloading'])) echo "checked"; ?> />
- <strong><?=gettext("Disable hardware checksum offload"); ?></strong><br>
+ <input name="disablechecksumoffloading" type="checkbox" id="disablechecksumoffloading" value="yes" <?php if (isset($config['system']['disablechecksumoffloading'])) echo "checked=\"checked\""; ?> />
+ <strong><?=gettext("Disable hardware checksum offload"); ?></strong><br />
<?=gettext("Checking this option will disable hardware checksum offloading. Checksum offloading is broken in some hardware, particularly some Realtek cards. Rarely, drivers may have problems with checksum offloading and some specific NICs."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Hardware TCP Segmentation Offloading"); ?></td>
<td width="78%" class="vtable">
- <input name="disablesegmentationoffloading" type="checkbox" id="disablesegmentationoffloading" value="yes" <?php if (isset($config['system']['disablesegmentationoffloading'])) echo "checked"; ?> />
- <strong><?=gettext("Disable hardware TCP segmentation offload"); ?></strong><br>
+ <input name="disablesegmentationoffloading" type="checkbox" id="disablesegmentationoffloading" value="yes" <?php if (isset($config['system']['disablesegmentationoffloading'])) echo "checked=\"checked\""; ?> />
+ <strong><?=gettext("Disable hardware TCP segmentation offload"); ?></strong><br />
<?=gettext("Checking this option will disable hardware TCP segmentation offloading (TSO, TSO4, TSO6). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Hardware Large Receive Offloading"); ?></td>
<td width="78%" class="vtable">
- <input name="disablelargereceiveoffloading" type="checkbox" id="disablelargereceiveoffloading" value="yes" <?php if (isset($config['system']['disablelargereceiveoffloading'])) echo "checked"; ?> />
- <strong><?=gettext("Disable hardware large receive offload"); ?></strong><br>
+ <input name="disablelargereceiveoffloading" type="checkbox" id="disablelargereceiveoffloading" value="yes" <?php if (isset($config['system']['disablelargereceiveoffloading'])) echo "checked=\"checked\""; ?> />
+ <strong><?=gettext("Disable hardware large receive offload"); ?></strong><br />
<?=gettext("Checking this option will disable hardware large receive offloading (LRO). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("ARP Handling"); ?></td>
<td width="78%" class="vtable">
- <input name="sharednet" type="checkbox" id="sharednet" value="yes" <?php if (isset($pconfig['sharednet'])) echo "checked"; ?> />
- <strong><?=gettext("Suppress ARP messages"); ?></strong><br>
- <?=gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?></strong>
+ <input name="sharednet" type="checkbox" id="sharednet" value="yes" <?php if (isset($pconfig['sharednet'])) echo "checked=\"checked\""; ?> />
+ <strong><?=gettext("Suppress ARP messages"); ?></strong><br />
+ <?=gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?>
</td>
</tr>
<?php
@@ -287,8 +287,8 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">Enable Flowtable</td>
<td width="78%" class="vtable">
- <input name="flowtable" type="checkbox" id="polling_enable" value="yes" <?php if ($pconfig['flowtable']) echo "checked"; ?>>
- <strong>Enable flowtable support</strong><br>
+ <input name="flowtable" type="checkbox" id="polling_enable" value="yes" <?php if ($pconfig['flowtable']) echo "checked=\"checked\""; ?> />
+ <strong>Enable flowtable support</strong><br />
Enables infrastructure for caching flows as a means of accelerating L3 and L2 lookups
as well as providing stateful load balancing when used with RADIX_MPATH.<br/>
</td>
@@ -309,10 +309,10 @@ function enable_change(enable_over) {
</tr>
</table>
</form>
- <script language="JavaScript" type="text/javascript">
- <!--
+ <script type="text/javascript">
+ //<![CDATA[
enable_change(false);
- //-->
+ //]]>
</script>
<?php include("fend.inc"); ?>
OpenPOWER on IntegriCloud