diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-06-14 15:44:08 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-06-14 15:44:08 -0300 |
commit | a22537c73c6a1301b9e2656bfaa4382b93314a55 (patch) | |
tree | 17a92e7767a5b55de5ea124881a66854e148e8cb /usr/local | |
parent | 6b7c0fefd8f3bdc152326198561d76284787ed8d (diff) | |
download | pfsense-a22537c73c6a1301b9e2656bfaa4382b93314a55.zip pfsense-a22537c73c6a1301b9e2656bfaa4382b93314a55.tar.gz |
Allow queues to be deleted, it fixes #3037
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 24 |
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 .= "&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 . "&queue="; - if ($queue) { - $output_form .= "&queue=" . $queue->GetQname(); - } - $output_form .= "&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 . "&queue="; +if ($queue) { + $output_form .= "&queue=" . $queue->GetQname(); +} +$output_form .= "&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>"; } |