From 33e52814d6b43448d2e89dbe0202c609afafa49d Mon Sep 17 00:00:00 2001 From: k-paulius Date: Sun, 14 Feb 2016 14:16:46 -0600 Subject: Show in the breadcrumb if we are modifying floating rule. --- src/usr/local/www/firewall_rules_edit.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/usr/local/www') 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"; -- cgit v1.1