From 76aab5cb52afa0a5c9e2bd83d3a83623caa5df6f Mon Sep 17 00:00:00 2001 From: NOYB Date: Wed, 3 Jan 2018 19:52:43 -0800 Subject: [PATCH] HTML Compliance - Obsolete table attributes width, align, valign, cellpadding, cellspacing, border, summary Error: The width attribute on the table element is obsolete. Use CSS instead. Error: The align attribute on the table element is obsolete. Use CSS instead. Error: The valign attribute on the table element is obsolete. Use CSS instead. Error: The cellpadding attribute on the table element is obsolete. Use CSS instead. Error: The cellspacing attribute on the table element is obsolete. Use CSS instead. Error: The border attribute on the table element is obsolete. Use CSS instead. Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed. --- src/www/diag_authentication.php | 16 ++-- src/www/diag_backup.php | 6 +- src/www/diag_confbak.php | 4 +- src/www/diag_logs_settings.php | 8 +- src/www/diag_packet_capture.php | 4 +- src/www/diag_sockets.php | 4 +- src/www/diag_testport.php | 4 +- src/www/firewall_aliases_edit.php | 4 +- src/www/firewall_aliases_import.php | 8 +- src/www/firewall_nat.php | 8 +- src/www/firewall_nat_1to1.php | 4 +- src/www/firewall_nat_1to1_edit.php | 4 +- src/www/firewall_nat_edit.php | 4 +- src/www/firewall_nat_npt.php | 6 +- src/www/firewall_nat_npt_edit.php | 10 +-- src/www/firewall_nat_out.php | 2 +- src/www/firewall_nat_out_edit.php | 4 +- src/www/firewall_rules.php | 52 ++++++------ src/www/firewall_rules_edit.php | 18 ++-- src/www/firewall_schedule_edit.php | 42 +++++----- src/www/firewall_scrub.php | 4 +- src/www/firewall_scrub_edit.php | 40 ++++----- src/www/firewall_virtual_ip_edit.php | 8 +- src/www/interfaces.php | 64 +++++++-------- src/www/interfaces_bridge_edit.php | 16 ++-- src/www/interfaces_gif_edit.php | 10 +-- src/www/interfaces_gre_edit.php | 10 +-- src/www/interfaces_groups_edit.php | 4 +- src/www/interfaces_lagg_edit.php | 8 +- src/www/interfaces_ppps_edit.php | 36 ++++---- src/www/interfaces_qinq_edit.php | 4 +- src/www/interfaces_vlan_edit.php | 8 +- src/www/interfaces_wireless_edit.php | 4 +- src/www/reporting_settings.php | 4 +- src/www/services_dhcp.php | 6 +- src/www/services_dhcp_edit.php | 4 +- src/www/services_dhcp_relay.php | 4 +- src/www/services_dhcpv6.php | 6 +- src/www/services_dhcpv6_edit.php | 4 +- src/www/services_dhcpv6_relay.php | 4 +- src/www/services_dnsmasq.php | 8 +- .../services_dnsmasq_domainoverride_edit.php | 8 +- src/www/services_dnsmasq_edit.php | 4 +- src/www/services_ntpd.php | 8 +- src/www/services_ntpd_gps.php | 4 +- src/www/services_ntpd_pps.php | 4 +- src/www/services_opendns.php | 4 +- src/www/services_router_advertisements.php | 4 +- src/www/services_unbound.php | 4 +- src/www/services_unbound_acls.php | 4 +- src/www/services_unbound_advanced.php | 4 +- .../services_unbound_domainoverride_edit.php | 4 +- src/www/services_unbound_host_edit.php | 4 +- src/www/status_interfaces.php | 4 +- src/www/system_advanced_admin.php | 26 +++--- src/www/system_advanced_firewall.php | 16 ++-- src/www/system_advanced_misc.php | 12 +-- src/www/system_advanced_network.php | 4 +- src/www/system_advanced_notifications.php | 4 +- src/www/system_advanced_sysctl.php | 2 +- src/www/system_authservers.php | 10 +-- src/www/system_camanager.php | 28 +++---- src/www/system_certmanager.php | 38 ++++----- src/www/system_crlmanager.php | 26 +++--- src/www/system_gateway_groups_edit.php | 6 +- src/www/system_gateways_edit.php | 4 +- src/www/system_general.php | 6 +- src/www/system_groupmanager.php | 2 +- src/www/system_hasync.php | 6 +- src/www/system_usermanager.php | 20 ++--- src/www/system_usermanager_addprivs.php | 4 +- src/www/system_usermanager_import_ldap.php | 2 +- src/www/system_usermanager_passwordmg.php | 4 +- src/www/system_usermanager_settings.php | 4 +- ...stem_usermanager_settings_ldapacpicker.php | 2 +- src/www/system_usermanager_settings_test.php | 2 +- src/www/vpn_ipsec_mobile.php | 4 +- src/www/vpn_ipsec_phase1.php | 6 +- src/www/vpn_ipsec_phase2.php | 14 ++-- src/www/vpn_ipsec_settings.php | 4 +- src/www/vpn_openvpn_client.php | 22 ++--- src/www/vpn_openvpn_csc.php | 8 +- src/www/vpn_openvpn_export.php | 28 +++---- src/www/vpn_openvpn_server.php | 82 +++++++++---------- .../widgets/system_information.widget.php | 2 +- src/www/wizard.php | 46 +++++------ 86 files changed, 486 insertions(+), 486 deletions(-) diff --git a/src/www/diag_authentication.php b/src/www/diag_authentication.php index 7c85b9c84..7a249ec46 100644 --- a/src/www/diag_authentication.php +++ b/src/www/diag_authentication.php @@ -78,8 +78,8 @@ include("head.inc"); - - + - - + + - - + + - - + +
+
 " /> " />
diff --git a/src/www/diag_backup.php b/src/www/diag_backup.php index 7dd43af1e..a2e196426 100644 --- a/src/www/diag_backup.php +++ b/src/www/diag_backup.php @@ -345,7 +345,7 @@ $( document ).ready(function() { - @@ -386,7 +386,7 @@ $( document ).ready(function() {
+
- @@ -443,7 +443,7 @@ $( document ).ready(function() { - diff --git a/src/www/diag_confbak.php b/src/www/diag_confbak.php index 2058d6110..2b1db84c8 100644 --- a/src/www/diag_confbak.php +++ b/src/www/diag_confbak.php @@ -204,7 +204,7 @@ $( document ).ready(function() {
+
+
- + @@ -228,7 +228,7 @@ $( document ).ready(function() {
-
+ - - + @@ -431,8 +431,8 @@ $(document).ready(function() {
+
- - + diff --git a/src/www/diag_packet_capture.php b/src/www/diag_packet_capture.php index f679263a9..fb81631a7 100644 --- a/src/www/diag_packet_capture.php +++ b/src/www/diag_packet_capture.php @@ -299,8 +299,8 @@ include("fbegin.inc");
+
- - +
+   diff --git a/src/www/diag_sockets.php b/src/www/diag_sockets.php index 290450f87..4b588d34b 100644 --- a/src/www/diag_sockets.php +++ b/src/www/diag_sockets.php @@ -67,7 +67,7 @@ $showAllOption = $showAll ? "" : "?showAll";

- +
$line) { if (trim($line) == "") { @@ -107,7 +107,7 @@ $showAllOption = $showAll ? "" : "?showAll"; 'The information listed for each socket is:'),'
','
','
') ?>

-
+
diff --git a/src/www/diag_testport.php b/src/www/diag_testport.php index 685c67e83..67c6a01c5 100644 --- a/src/www/diag_testport.php +++ b/src/www/diag_testport.php @@ -127,8 +127,8 @@ include("head.inc"); ?>
USER
COMMAND
PID
- - +
+   diff --git a/src/www/firewall_aliases_edit.php b/src/www/firewall_aliases_edit.php index 6c9b03423..6db826267 100644 --- a/src/www/firewall_aliases_edit.php +++ b/src/www/firewall_aliases_edit.php @@ -536,8 +536,8 @@ include("head.inc");
- - + diff --git a/src/www/firewall_aliases_import.php b/src/www/firewall_aliases_import.php index 8bcdcec74..7ea0f5a4b 100644 --- a/src/www/firewall_aliases_import.php +++ b/src/www/firewall_aliases_import.php @@ -170,8 +170,8 @@ include("head.inc");
+
- - + @@ -202,8 +202,8 @@ include("head.inc"); - - + - - - + + + @@ -461,7 +461,7 @@ $( document ).ready(function() { - + diff --git a/src/www/firewall_nat_1to1.php b/src/www/firewall_nat_1to1.php index 493db60e9..3b2d3e907 100644 --- a/src/www/firewall_nat_1to1.php +++ b/src/www/firewall_nat_1to1.php @@ -209,7 +209,7 @@ $main_buttons = array( $i = 0; foreach ($a_1to1 as $natent): ?> - valign="top" ondblclick="document.location='firewall_nat_1to1_edit.php?id=';"> + style="vertical-align:top" ondblclick="document.location='firewall_nat_1to1_edit.php?id=';"> @@ -316,7 +316,7 @@ $main_buttons = array( - + diff --git a/src/www/firewall_nat_1to1_edit.php b/src/www/firewall_nat_1to1_edit.php index 8530f0446..93455c534 100644 --- a/src/www/firewall_nat_1to1_edit.php +++ b/src/www/firewall_nat_1to1_edit.php @@ -239,8 +239,8 @@ include("head.inc");
+
+
      
 
- - + diff --git a/src/www/firewall_nat_edit.php b/src/www/firewall_nat_edit.php index a865d236b..5eadd7451 100644 --- a/src/www/firewall_nat_edit.php +++ b/src/www/firewall_nat_edit.php @@ -507,8 +507,8 @@ $( document ).ready(function() {
+
- - + diff --git a/src/www/firewall_nat_npt.php b/src/www/firewall_nat_npt.php index 01d7e6c16..ad6a7cc80 100644 --- a/src/www/firewall_nat_npt.php +++ b/src/www/firewall_nat_npt.php @@ -193,9 +193,9 @@ $main_buttons = array(
+
- - - + + + diff --git a/src/www/firewall_nat_npt_edit.php b/src/www/firewall_nat_npt_edit.php index a55f87e69..4718195c3 100644 --- a/src/www/firewall_nat_npt_edit.php +++ b/src/www/firewall_nat_npt_edit.php @@ -145,7 +145,7 @@ include("head.inc");
    
- @@ -194,9 +194,9 @@ include("head.inc");
+
- +
-
+ "/> @@ -232,9 +232,9 @@ include("head.inc");
- +
- - + diff --git a/src/www/firewall_nat_out_edit.php b/src/www/firewall_nat_out_edit.php index 09ed8033e..56df8590d 100644 --- a/src/www/firewall_nat_out_edit.php +++ b/src/www/firewall_nat_out_edit.php @@ -390,7 +390,7 @@ include("head.inc");
+ "/> diff --git a/src/www/firewall_nat_out.php b/src/www/firewall_nat_out.php index 46ea45ade..c2e3edb14 100644 --- a/src/www/firewall_nat_out.php +++ b/src/www/firewall_nat_out.php @@ -472,7 +472,7 @@ include("head.inc");  
- @@ -410,7 +410,7 @@ include("head.inc"); - + @@ -324,7 +324,7 @@ $( document ).ready(function() { || ((count($config['interfaces']) == 1) && ($selected_if == 'wan')))): $alports = implode('
', filter_core_antilockout_ports()); ?> - + @@ -361,14 +361,14 @@ $( document ).ready(function() { - - + -
+
+ />
  IPv6 *
  * + " class="btn btn-default btn-xs">
  @@ -622,7 +622,7 @@ $( document ).ready(function() { if (!$interface_has_rules): ?>
+