diff options
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 9 |
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 f280691..13cc252 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -1089,11 +1089,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"; |