summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/shaper.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/inc/shaper.inc')
-rw-r--r--src/etc/inc/shaper.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/etc/inc/shaper.inc b/src/etc/inc/shaper.inc
index e2a71ea..4d25742 100644
--- a/src/etc/inc/shaper.inc
+++ b/src/etc/inc/shaper.inc
@@ -762,7 +762,9 @@ class altq_root_queue {
));
$section->addInput(new Form_StaticText(
+ 'name',
'Name',
+ 'text',
$this->GetQname()
));
@@ -1310,7 +1312,7 @@ class priq_queue {
$sform = new Form();
- $section = new Form_Section(null);
+ $section = new Form_Section("");
$section->addInput(new Form_Checkbox(
'enabled',
@@ -1320,8 +1322,10 @@ class priq_queue {
'on'
));
- $section->addInput(new Form_StaticText(
+ $section->addInput(new Form_Input(
+ 'name',
'Name',
+ 'text',
$this->GetQname()
))->setHelp('Enter the name of the queue here. Do not use spaces and limit the size to 15 characters.');
OpenPOWER on IntegriCloud