summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-14 14:16:46 -0600
committerk-paulius <k.dash.paulius@gmail.com>2016-02-14 14:16:46 -0600
commit33e52814d6b43448d2e89dbe0202c609afafa49d (patch)
tree9f8adb3756a8a1909789479a1b81bead60b4a808 /src
parent56c6b1cbe8b44d3f9ea9d7d2156130ec49a2d179 (diff)
downloadpfsense-33e52814d6b43448d2e89dbe0202c609afafa49d.zip
pfsense-33e52814d6b43448d2e89dbe0202c609afafa49d.tar.gz
Show in the breadcrumb if we are modifying floating rule.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 444e461..9ad9efa 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1028,7 +1028,12 @@ function build_if_list() {
return($iflist);
}
-$pgtitle = array(gettext("Firewall"), gettext("Rules"), gettext("Edit"));
+$pgtitle = array(gettext("Firewall"), gettext("Rules"));
+
+if ($if == "FloatingRules" || isset($pconfig['floating'])) {
+ $pgtitle[] = gettext('Floating');
+}
+$pgtitle[] = gettext("Edit");
$shortcut_section = "firewall";
$page_filename = "firewall_rules_edit.php";
OpenPOWER on IntegriCloud