From e750c0afc8c491af47b36400a094604af6877e04 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Fri, 22 Mar 2013 14:54:55 +0000 Subject: Tidy up "traffic shaper layer7" XHTML Close INPUT, BR, P and IMG tags Add "alt" to IMG tags Add CDATA section to scripts Move "tree.css" and "tree.js" to the HEAD statement and close the HEAD statement manually Spelling mistake Update PHP shorthand tag Update HTML boolean operators --- usr/local/www/firewall_shaper_layer7.php | 106 +++++++++++++++---------------- 1 file changed, 51 insertions(+), 55 deletions(-) (limited to 'usr/local/www/firewall_shaper_layer7.php') diff --git a/usr/local/www/firewall_shaper_layer7.php b/usr/local/www/firewall_shaper_layer7.php index 44c659f..17c674b 100755 --- a/usr/local/www/firewall_shaper_layer7.php +++ b/usr/local/www/firewall_shaper_layer7.php @@ -62,8 +62,8 @@ $shortcut_section = "trafficshaper"; $output_form = ""; $default_layer7shaper_msg = ""; -$default_layer7shaper_msg .= "

" . gettext("Note") . ":
"; -$default_layer7shaper_msg .= "
" . gettext("You can add new layer7 protocol patterns by simply uploading the file") . " " . gettext("here") . ".
"; +$default_layer7shaper_msg .= "" . gettext("Note") . ":
"; +$default_layer7shaper_msg .= "
" . gettext("You can add new layer7 protocol patterns by simply uploading the file") . " " . gettext("here") . ".
"; $default_layer7shaper_msg .= ""; @@ -222,16 +222,14 @@ $tree .= ""; $output = "

"; $output .= $output_form; - +$closehead = false; include("head.inc"); ?> - - - + - + + +
@@ -398,9 +398,9 @@ include("fbegin.inc");

-" . gettext("You must apply the changes in order for them to take effect."));?>
+" . gettext("You must apply the changes in order for them to take effect."));?>

- +
- +
0): ?> -
@@ -423,37 +423,37 @@ include("fbegin.inc");
+

- " width="17" height="17" border="0"> + " width="17" height="17" border="0" alt="add" />
- - + - -
-
+
+
- + - - @@ -589,7 +586,6 @@ include("fbegin.inc");
+ - @@ -461,22 +461,22 @@ include("fbegin.inc"); @@ -490,7 +490,7 @@ include("fbegin.inc"); @@ -499,18 +499,18 @@ include("fbegin.inc"); - + - + - + GetRStructure() == "action"): ?> - + GetRStructure() == "queue"): ?> - + GetRStructure() == "limiter"): ?> - + @@ -548,32 +548,29 @@ include("fbegin.inc"); } //end if ?> - - -
-
+
+
-
+
-
+
-
+
- + x
- " /> + " />
+   - " /> + + " /> - - " /> + + " /> - "> + " />
- + -- cgit v1.1