summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-10 20:33:55 +0545
committerPhil Davis <phil.davis@inf.org>2017-02-11 18:25:50 +0545
commitde02dc292637fb731986719dbf8c8ead5fae4912 (patch)
tree89e3bbf1db16143f031efb77dd0162be4af90880 /src/usr/local/www/firewall_rules_edit.php
parent990bc1fb8b2e577e7a332b7b1e24b2faa3f3be27 (diff)
downloadpfsense-de02dc292637fb731986719dbf8c8ead5fae4912.zip
pfsense-de02dc292637fb731986719dbf8c8ead5fae4912.tar.gz
Breadcrumb links
(cherry picked from commit edcd75357f0e93b124159314d3306197d5312e6c)
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 3656b21..6373b0d 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1126,11 +1126,20 @@ function build_if_list() {
}
$pgtitle = array(gettext("Firewall"), gettext("Rules"));
+$pglinks = array("");
if ($if == "FloatingRules" || isset($pconfig['floating'])) {
+ $pglinks[] = "firewall_rules.php?if=FloatingRules";
$pgtitle[] = gettext('Floating');
+ $pglinks[] = "firewall_rules.php?if=FloatingRules";
+} elseif (!empty($if)) {
+ $pglinks = array("", "firewall_rules.php?if=" . $if);
+} else {
+ $pglinks = array("", "firewall_rules.php");
}
+
$pgtitle[] = gettext("Edit");
+$pglinks[] = "@self";
$shortcut_section = "firewall";
$page_filename = "firewall_rules_edit.php";
OpenPOWER on IntegriCloud