summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-07-20 20:28:19 +0000
committerErmal <eri@pfsense.org>2010-07-20 20:28:19 +0000
commit42621465d0618ecf60a63517d3ba3adca0740abb (patch)
treedf6260ef3c6eca8a468a5c5d81a53838a36de163 /etc
parent20f26a504328fd3973da6b40b3991bb077fbd941 (diff)
downloadpfsense-42621465d0618ecf60a63517d3ba3adca0740abb.zip
pfsense-42621465d0618ecf60a63517d3ba3adca0740abb.tar.gz
Show the Enable/Disable and name first and then the bandwidth values. Fix html markup so the table is displayed propperly.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/shaper.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index 85090bb..4961a85 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -1791,7 +1791,8 @@ class hfsc_queue extends priq_queue {
}
function build_form() {
- $form = "<tr>";
+ $form = parent::build_form();
+ $form .= "<tr>";
$form .= "<td valign=\"top\" class=\"vncellreq\">Bandwidth</td>";
$form .= "<td class=\"vtable\"> <input name=\"bandwidth\" id=\"bandwidth\" class=\"formfld unknown\" value=\"";
$form .= htmlspecialchars($this->GetBandwidth());
@@ -1819,8 +1820,7 @@ class hfsc_queue extends priq_queue {
$form .= ">%</option>";
$form .= "</select> <br>";
$form .= "<span class=\"vexpl\">Choose the amount of bandwidth for this queue";
- $form .= "</span></td>";
- $form .= parent::build_form();
+ $form .= "</span></td></tr>";
$form .= "<tr>";
$form .= "<td width=\"22%\" valign=\"top\" class=\"vncellreq\">Service Curve (sc)</td>";
$form .= "<td width=\"78%\" class=\"vtable\">";
OpenPOWER on IntegriCloud