summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-04 21:41:21 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-04 21:41:54 -0500
commitf7d2d5aab048743eb41db541471ba5ff57703612 (patch)
tree372dfaf3abacfa06c42bc041a4ca0ea68854b2de /src/usr/local
parentaf8397ca73f57e7b384fbcfbf4868fa66e0e45cc (diff)
downloadpfsense-f7d2d5aab048743eb41db541471ba5ff57703612.zip
pfsense-f7d2d5aab048743eb41db541471ba5ff57703612.tar.gz
Improve error message when the user forget to "Apply"
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/firewall_shaper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_shaper.php b/src/usr/local/www/firewall_shaper.php
index a4e35f7..4b008d4 100644
--- a/src/usr/local/www/firewall_shaper.php
+++ b/src/usr/local/www/firewall_shaper.php
@@ -198,7 +198,7 @@ if ($_GET) {
} else if ($addnewaltq) {
$q = new altq_root_queue();
} else {
- $input_errors[] = gettext("Could not create new queue/discipline!");
+ $input_errors[] = gettext("Could not create new queue/discipline! Did you remember to apply any recent changes?");
}
if ($q) {
@@ -461,7 +461,7 @@ if (count($altq_list_queues) > 0) {
<td>
<?php
-if (!$dfltmsg) {
+if (!$dfltmsg && $sform) {
// Add global buttons
if (!$dontshow || $newqueue) {
if ($can_add || $addnewaltq) {
OpenPOWER on IntegriCloud