diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index e2b1317bdd..1bb990384e 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -1,6 +1,6 @@
";
+ $javascript .= "//";
$javascript .= "";
return $javascript;
@@ -611,7 +613,7 @@ class altq_root_queue {
* to the user like the traffic wizard does.
*/
function build_form() {
- $form = "
";
+ $form = "
";
$form .= gettext("Enable/Disable");
$form .= "
";
$form .= " " . gettext("Enable/disable discipline and its children") . "";
$form .= "
";
- $form .= "
" . gettext("Name") . "
";
+ $form .= "
" . gettext("Name") . "
";
$form .= "
";
$form .= "".$this->GetQname()."";
$form .= "
";
@@ -644,7 +646,7 @@ class altq_root_queue {
$form .= " selected=\"yes\"";
$form .= ">PRIQ";
$form .= "";
- $form .= " ";
+ $form .= " ";
$form .= gettext("NOTE: Changing this changes all child queues!");
$form .= gettext(" Beware you can lose information.");
$form .= "";
@@ -683,7 +685,7 @@ class altq_root_queue {
$form .= " GetTbrConfig();
$form .= "\">";
- $form .= " ";
+ $form .= " ";
$form .= gettext("Adjusts the size, in bytes, of the token bucket regulator. "
. "If not specified, heuristics based on the interface "
. "bandwidth are used to determine the size.");
@@ -872,6 +874,7 @@ class priq_queue {
function build_javascript() {
$javascript = "";
return $javascript;
@@ -1118,7 +1122,7 @@ class priq_queue {
* need to update it.
*/
function build_form() {
- $form = "
";
+ $form = "
";
$form .= gettext("Enable/Disable");
$form .= "
";
$form .= " GetQpriority());
$form .= "\">";
- $form .= " " . gettext("For hfsc, the range is 0 to 7. The default is 1. Hfsc queues with a higher priority are preferred in the case of overload.") . "
";
+ $form .= " " . gettext("For hfsc, the range is 0 to 7. The default is 1. Hfsc queues with a higher priority are preferred in the case of overload.") . "";
$form .= "
";
$form .= "
";
$form .= "
" . gettext("Queue limit") . "
";
$form .= "
GetQlimit());
$form .= "\">";
- $form .= " " . gettext("Queue limit in packets per second.");
+ $form .= " " . gettext("Queue limit in packets per second.");
$form .= "
" . gettext("The bandwidth share of a backlogged queue - this overrides priority.") . "
";
- $form .= " ";
+ $form .= " ";
$form .= gettext("The format for service curve specifications is (m1, d, m2). m2 controls "
. "the bandwidth assigned to the queue. m1 and d are optional and can be "
. "used to control the initial bandwidth assignment. For the first d milliseconds the queue gets the bandwidth given as m1, afterwards the value "
@@ -2353,14 +2359,14 @@ class cbq_queue extends priq_queue {
if ($this->GetBwscale() == "%")
$form .= " selected=\"yes\"";
$form .= ">%";
- $form .= " ";
+ $form .= " ";
$form .= "" . gettext("Choose the amount of bandwidth for this queue");
$form .= "";
$form .= "
" . gettext("Scheduler specific options") . "
";
$form .= "
GetBorrow() == "on")
$form .= " CHECKED ";
- $form .= "> " . gettext("Borrow from other queues when available") . "
";
+ $form .= "> " . gettext("Borrow from other queues when available") . " ";
return $form;
}
@@ -2619,7 +2625,7 @@ class fairq_queue extends priq_queue {
if ($this->GetBwscale() == "%")
$form .= " selected=\"yes\"";
$form .= ">%";
- $form .= " ";
+ $form .= " ";
$form .= "" . gettext("Choose the amount of bandwidth for this queue");
$form .= "";
$form .= "
";
$form .= " " . gettext("Enable limiter and its children") . "";
$form .= "
";
- $form .= "
" . gettext("Name") . "
";
+ $form .= "
" . gettext("Name") . "
";
$form .= "
";
$form .= "GetQname()."\">";
@@ -3216,7 +3224,7 @@ EOD;
$form .= " selected=\"yes\"";
$form .= ">" . gettext("Destination addresses") . "";
$form .= "";
- $form .= " ";
+ $form .= " ";
$form .= "" . gettext("If 'source' or 'destination' is chosen, \n"
. "a dynamic pipe with the bandwidth, delay, packet loss and queue size given above will \n"
. "be created for each source/destination IP address encountered, \n"
@@ -3228,7 +3236,7 @@ EOD;
$form .= "GetDescription();
$form .= "\">";
- $form .= " ";
+ $form .= " ";
$form .= gettext("You may enter a description here for your reference (not parsed).") . "";
$form .= "
";
$form .= "
";
@@ -3243,7 +3251,7 @@ EOD;
$form .= "
";
$form .= "GetDelay() . "\">";
- $form .= " ms " . gettext("Hint: in most cases, you "
+ $form .= " ms " . gettext("Hint: in most cases, you "
. "should specify 0 here (or leave the field empty)") . "";
$form .= "
";
$form .= "
";
@@ -3251,7 +3259,7 @@ EOD;
$form .= "
";
$form .= "GetPlr() . "\">";
- $form .= " " . gettext("Hint: in most cases, you "
+ $form .= " " . gettext("Hint: in most cases, you "
. "should specify 0 here (or leave the field empty). "
. "A value of 0.001 means one packet in 1000 gets dropped") . "";
$form .= "
";
@@ -3260,7 +3268,7 @@ EOD;
$form .= "
";
$form .= "GetQlimit() . "\">";
- $form .= " slots ";
+ $form .= " slots ";
$form .= "" . gettext("Hint: in most cases, you "
. "should leave the field empty. All packets in this pipe are placed into a fixed-size queue first, "
. "then they are delayed by value specified in the Delay field, and then they "
@@ -3271,7 +3279,7 @@ EOD;
$form .= "
";
$form .= "GetBuckets() . "\">";
- $form .= " slots ";
+ $form .= " slots ";
$form .= "" . gettext("Hint: in most cases, you "
. "should leave the field empty. It increases the hash size set.");
$form .= "
";
@@ -3429,7 +3437,7 @@ class dnqueue_class extends dummynet_class {
}
function build_form() {
- $form = "
";
$form .= "GetWeight() . "\">";
- $form .= " " . gettext("Hint: For queues under the same parent "
+ $form .= " " . gettext("Hint: For queues under the same parent "
. "this specifies the share that a queue gets(values range from 1 to 100, you can leave it blank otherwise)") . "";
$form .= "
";
$form .= "GetPlr() . "\">";
- $form .= " " . gettext("Hint: in most cases, you "
+ $form .= " " . gettext("Hint: in most cases, you "
. "should specify 0 here (or leave the field empty). "
. "A value of 0.001 means one packet in 1000 gets dropped") . "";
$form .= "
";
$form .= "GetQlimit() . "\">";
- $form .= " slots ";
+ $form .= " slots ";
$form .= "" . gettext("Hint: in most cases, you "
. "should leave the field empty. All packets in this pipe are placed into a fixed-size queue first, "
. "then they are delayed by value specified in the Delay field, and then they "
@@ -3518,7 +3526,7 @@ class dnqueue_class extends dummynet_class {
$form .= "
";
$form .= "GetBuckets() . "\">";
- $form .= " " . gettext("slots") . " ";
+ $form .= " " . gettext("slots") . " ";
$form .= "" . gettext("Hint: in most cases, you "
. "should leave the field empty. It increases the hash size set.");
$form .= "
";
@@ -3652,7 +3660,7 @@ class layer7 {
}
function build_form() {
- $form = "