diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-02-27 22:54:44 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-02-27 22:54:44 +0000 |
commit | 58dc3a03868d29d1684f3f0227f4da7c7e5f63a3 (patch) | |
tree | b9f50278ad04ef60321aa6812995e66111bf3730 /usr/local | |
parent | 8d0632cf250e563ad722eb69ed2526a120e728b0 (diff) | |
download | pfsense-58dc3a03868d29d1684f3f0227f4da7c7e5f63a3.zip pfsense-58dc3a03868d29d1684f3f0227f4da7c7e5f63a3.tar.gz |
Typo fixes and some bug fixing mostly at the frontend part.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index c8ef43c..e3e88f5 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -297,9 +297,8 @@ if ($queue) { $can_enable = true; else $can_enable = false; - if ($queue->CanHaveChilds() && $can_enable && - $altq->GetQname() <> $queue->GetQname()) { - if ($queue->GetDefault() <> "") + if ($queue->CanHaveChilds() && $can_enable) { + if ($altq->GetQname() <> $queue->GetQname() && $queue->GetDefault() <> "") $can_add = false; else $can_add = true; @@ -330,7 +329,7 @@ if ($can_add || $addnewaltq) { $output_form .= "&queue=" . $queue->GetQname(); } $output_form .= "&action=add\">"; - $output_form .= "<input type=\"button\" class=\"formbtn\" name=\"add\" value=\"Add Queue\">"; + $output_form .= "<input type=\"button\" class=\"formbtn\" name=\"add\" value=\"Add new queue\">"; $output_form .= "</a>"; $output_form .= "<a href=\"firewall_shaper.php?interface="; $output_form .= $interface . "&queue="; @@ -340,7 +339,7 @@ if ($can_add || $addnewaltq) { $output_form .= "&action=delete\">"; $output_form .= "<input type=\"button\" class=\"formbtn\" name=\"delete\""; if ($queue) - $output_form .= " value=\"Delete a queue\">"; + $output_form .= " value=\"Delete this queue\">"; else $output_form .= " value=\"Disable shaper on interface\">"; $output_form .= "</a>"; @@ -370,7 +369,7 @@ if ($queue || $altq) { } $output .= $output_form; -$pgtitle = "Firewall: Shaper: By Interface View"; +//$pgtitle = "Firewall: Shaper: By Interface View"; include("head.inc"); ?> |