diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-14 14:16:46 -0600 |
---|---|---|
committer | k-paulius <k.dash.paulius@gmail.com> | 2016-02-14 14:16:46 -0600 |
commit | 33e52814d6b43448d2e89dbe0202c609afafa49d (patch) | |
tree | 9f8adb3756a8a1909789479a1b81bead60b4a808 | |
parent | 56c6b1cbe8b44d3f9ea9d7d2156130ec49a2d179 (diff) | |
download | pfsense-33e52814d6b43448d2e89dbe0202c609afafa49d.zip pfsense-33e52814d6b43448d2e89dbe0202c609afafa49d.tar.gz |
Show in the breadcrumb if we are modifying floating rule.
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 7 |
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"; |