From 4143e7fb181832beea62c67e28d6bcb7d09f930a Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Tue, 9 Apr 2013 14:45:16 +0100 Subject: [PATCH] Tidy up "firewall_rules_edit.php" XHTML Close INPUT, BR and IMG tags and add ALT to IMG tags Update HTML boolean operators Add missing closing P tags Remove NAME paramenter from TR and DIV tags, invalid HTML --- usr/local/www/firewall_rules_edit.php | 274 +++++++++++++------------- 1 file changed, 135 insertions(+), 139 deletions(-) diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index b3e3c5ef44..3664f414b2 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -693,9 +693,9 @@ include("head.inc");
- + - +
@@ -708,12 +708,12 @@ include("head.inc"); @@ -756,14 +756,14 @@ include("head.inc"); if (is_array($config['nat']['rule'])) { foreach( $config['nat']['rule'] as $index => $nat_rule ) { if( isset($nat_rule['associated-rule-id']) && $nat_rule['associated-rule-id']==$pconfig['associated-rule-id'] ) { - echo "" . gettext("View the NAT rule") . "
"; + echo "" . gettext("View the NAT rule") . "
"; break; } } } - echo ""; + echo ""; if (!empty($pconfig['interface'])) - echo ""; + echo ""; ?>

@@ -726,7 +726,7 @@ include("head.inc");
- > + />