summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-06-14 15:44:08 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-06-14 15:44:08 -0300
commita22537c73c6a1301b9e2656bfaa4382b93314a55 (patch)
tree17a92e7767a5b55de5ea124881a66854e148e8cb /usr/local
parent6b7c0fefd8f3bdc152326198561d76284787ed8d (diff)
downloadpfsense-a22537c73c6a1301b9e2656bfaa4382b93314a55.zip
pfsense-a22537c73c6a1301b9e2656bfaa4382b93314a55.tar.gz
Allow queues to be deleted, it fixes #3037
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_shaper.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index a43791e..fe181e9 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -357,19 +357,19 @@ if ($can_add || $addnewaltq) {
$output_form .= "&amp;action=add\">";
$output_form .= "<input type=\"button\" class=\"formbtn\" name=\"add\" value=\"" . gettext("Add new queue") . "\" />";
$output_form .= "</a>";
- $output_form .= "<a href=\"firewall_shaper.php?interface=";
- $output_form .= $interface . "&amp;queue=";
- if ($queue) {
- $output_form .= "&amp;queue=" . $queue->GetQname();
- }
- $output_form .= "&amp;action=delete\">";
- $output_form .= "<input type=\"button\" class=\"formbtn\" name=\"delete\"";
- if ($queue)
- $output_form .= " value=\"" . gettext("Delete this queue") . "\" />";
- else
- $output_form .= " value=\"" . gettext("Disable shaper on interface") . "\" />";
- $output_form .= "</a>";
}
+$output_form .= "<a href=\"firewall_shaper.php?interface=";
+$output_form .= $interface . "&amp;queue=";
+if ($queue) {
+ $output_form .= "&amp;queue=" . $queue->GetQname();
+}
+$output_form .= "&amp;action=delete\">";
+$output_form .= "<input type=\"button\" class=\"formbtn\" name=\"delete\"";
+if ($queue)
+ $output_form .= " value=\"" . gettext("Delete this queue") . "\" />";
+else
+ $output_form .= " value=\"" . gettext("Disable shaper on interface") . "\" />";
+$output_form .= "</a>";
$output_form .= "<br /></td></tr>";
$output_form .= "</table>";
}
OpenPOWER on IntegriCloud