From df5c0bc036f545e19b4193202179d28720998b0b Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Fri, 22 Mar 2013 14:29:54 +0000 Subject: Tidy up "traffic shaper" XHTML Close INPUT, BR and P tags Update PHP Shorthand tag Spelling mistake Move "tree.css" and "tree.js" to the HEAD statement and close the HEAD statement manually Deprecate the ampersand in the ANCHOR tag --- usr/local/www/firewall_shaper.php | 42 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'usr/local/www/firewall_shaper.php') diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index 6ac8538..684ecd4 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -163,7 +163,7 @@ if ($_GET) { $q->SetInterface($interface); $output_form .= $q->build_form(); $output_form .= ""; + $output_form .= " value=\"".$qname."\" />"; $newjavascript = $q->build_javascript(); unset($q); $newqueue = true; @@ -352,22 +352,22 @@ if ($can_add || $addnewaltq) { $output_form .= "GetQname(); + $output_form .= "&queue=" . $queue->GetQname(); } - $output_form .= "&action=add\">"; - $output_form .= ""; + $output_form .= "&action=add\">"; + $output_form .= ""; $output_form .= ""; $output_form .= ""; + $output_form .= "&action=delete\">"; $output_form .= ""; + $output_form .= " value=\"" . gettext("Delete this queue") . "\" />"; else - $output_form .= " value=\"" . gettext("Disable shaper on interface") . "\">"; + $output_form .= " value=\"" . gettext("Disable shaper on interface") . "\" />"; $output_form .= ""; } $output_form .= "
"; @@ -380,13 +380,14 @@ $output = "
"; $output .= $output_form; //$pgtitle = "Firewall: Shaper: By Interface View"; - +$closehead = false; include("head.inc"); ?> - - + + + build_javascript(); @@ -401,9 +402,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): ?> -
- " class="formbtn"> + " class="formbtn" />
+ - - +
@@ -446,7 +447,6 @@ include("fbegin.inc");
- + -- cgit v1.1