summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-05-04 16:10:18 +0000
committerErmal <eri@pfsense.org>2010-05-04 16:10:18 +0000
commit34a3694b096be79311b48f70eab80ec0943e1415 (patch)
treef4573fa559fc1013f695d14d22ca4f955a8c7921 /usr/local/www/firewall_shaper.php
parent96cbc5aa79398f0e1dba04a1d487f9425315b60d (diff)
downloadpfsense-34a3694b096be79311b48f70eab80ec0943e1415.zip
pfsense-34a3694b096be79311b48f70eab80ec0943e1415.tar.gz
Fix displaying the Enable/Disable checkbox. Previously after a save button click it will show the old saved value.
Diffstat (limited to 'usr/local/www/firewall_shaper.php')
-rwxr-xr-xusr/local/www/firewall_shaper.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index e4db1ee..6b6824f 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -374,22 +374,6 @@ else
$output_form .= "</div>";
$output = "<div id=\"shaperarea\" style=\"position:relative\">";
-if (!$dontshow) {
-if ($queue || $altq || $newqueue) {
- $output .= "<tr><td valign=\"top\" class=\"vncellreq\"><br>";
- $output .= "Enable/Disable";
- $output .= "</td><td class=\"vncellreq\">";
- $output .= " <input type=\"checkbox\" id=\"enabled\" name=\"enabled\" value=\"enabled\"";
- if ($queue)
- if ($queue->GetEnabled())
- $output .= " CHECKED";
- else if ($altq)
- if ($altq->GetEnabled())
- $output .= " CHECKED";
- $output .= " ><span class=\"vexpl\"> Enable/Disable queue and its childs</span>";
- $output .= "</td></tr>";
-}
-}
$output .= $output_form;
//$pgtitle = "Firewall: Shaper: By Interface View";
OpenPOWER on IntegriCloud