summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_settings.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-05-08 23:02:17 +0100
committerColin Fleming <cj_fleming@sky.com>2014-05-08 23:02:17 +0100
commit391453a1c40cd4e382c7203742da8adca1a52105 (patch)
tree4bf1c0ea6d8bb8cd1a63b92fe137dd09113cb320 /usr/local/www/vpn_ipsec_settings.php
parent0a15a38d75ebebdeda4727580e82290e87663816 (diff)
downloadpfsense-391453a1c40cd4e382c7203742da8adca1a52105.zip
pfsense-391453a1c40cd4e382c7203742da8adca1a52105.tar.gz
Tidy up "vpn_ipsec" XHTML
Add CDATA section to SCRIPTS Add SUMMARY to TABLES Update HTML Boolean operators Close INPUT and IMG tags and ALT to IMG tags Move NOWRAP into CLASS statement Deprecate ampersand in Anchor tags
Diffstat (limited to 'usr/local/www/vpn_ipsec_settings.php')
-rw-r--r--usr/local/www/vpn_ipsec_settings.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index b4a5201..0cb9c17 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -122,7 +122,7 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<script type="text/javascript">
-<!--
+//<![CDATA[
function maxmss_checked(obj) {
if (obj.checked)
@@ -131,7 +131,7 @@ function maxmss_checked(obj) {
jQuery('#maxmss').attr('disabled','true');
}
-//-->
+//]]>
</script>
<form action="vpn_ipsec_settings.php" method="post" name="iform" id="iform">
@@ -143,7 +143,7 @@ function maxmss_checked(obj) {
print_input_errors($input_errors);
?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="vpn ipsec settings">
<tr>
<td class="tabnavtbl">
<?php
@@ -159,7 +159,7 @@ function maxmss_checked(obj) {
<tr>
<td id="mainarea">
<div class="tabcont">
- <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("IPSec Advanced Settings"); ?></td>
</tr>
@@ -189,7 +189,7 @@ function maxmss_checked(obj) {
<td width="78%" class="vtable">
<strong><?=gettext("Start IPSec in debug mode based on sections selected"); ?></strong>
<br />
- <table>
+ <table summary="ipsec debug">
<?php foreach ($ipsec_loglevels as $lkey => $ldescr): ?>
<tr>
<td width="22%" valign="top" class="vncell"><?=$ldescr;?></td>
@@ -206,6 +206,7 @@ function maxmss_checked(obj) {
</td>
</tr>
<?php endforeach; ?>
+ <tr style="display:none;"><td></td></tr>
</table>
<br /><?=gettext("Launches IPSec in debug mode so that more verbose logs " .
"will be generated to aid in troubleshooting."); ?>
@@ -238,7 +239,7 @@ function maxmss_checked(obj) {
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>">
+ <input name="submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>" />
</td>
</tr>
</table>
OpenPOWER on IntegriCloud