summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_groupmanager.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-03 02:08:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-03 02:08:57 +0000
commitd81c2ad144ad3665df8c7986f3919133f447456c (patch)
tree154d245a0963df361c4a9a0be022de875f80a2b2 /usr/local/www/system_groupmanager.php
parent3aae364d67669bb61c04bf2ad42475968b6882ca (diff)
downloadpfsense-d81c2ad144ad3665df8c7986f3919133f447456c.zip
pfsense-d81c2ad144ad3665df8c7986f3919133f447456c.tar.gz
* Add PPTP, IPSEC and PPPOE * Check for access to firewall interface tabs correctly
Diffstat (limited to 'usr/local/www/system_groupmanager.php')
-rw-r--r--usr/local/www/system_groupmanager.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/usr/local/www/system_groupmanager.php b/usr/local/www/system_groupmanager.php
index f1f79be..7d74efe 100644
--- a/usr/local/www/system_groupmanager.php
+++ b/usr/local/www/system_groupmanager.php
@@ -121,17 +121,28 @@ function getAdminPageList() {
include("extensions.inc");
}
+ /* firewall rule view and edit entries for lan, wan, optX */
$iflist = array("lan" => "lan", "wan" => "wan");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$iflist['opt' . $i] = strtolower($config['interfaces']['opt' . $i]['descr']);
}
foreach ($iflist as $ifent => $ifname) {
$entryname = "firewall_rules.php?if={$ifname}";
- $tmp[$entryname] = ("Firewall Rules: " . $ifname);
+ $tmp[$entryname] = ("Firewall: Rules: " . strtoupper($ifname));
$entryname = "firewall_rules_edit.php?if={$ifname}";
- $tmp[$entryname] = ("Firewall Rules: Edit: " . $ifname);
+ $tmp[$entryname] = ("Firewall: Rules: Edit: " . strtoupper($ifname));
}
+ /* additional firewal rules tab entries */
+ $entryname = "firewall_rules_edit.php?if=enc0";
+ $tmp[$entryname] = "Firewall: Rules: Edit: IPSEC";
+
+ $entryname = "firewall_rules_edit.php?if=pptp";
+ $tmp[$entryname] = "Firewall: Rules: Edit: PPTP";
+
+ $entryname = "firewall_rules_edit.php?if=pppoe";
+ $tmp[$entryname] = "Firewall: Rules: Edit: PPPoE";
+
asort($tmp);
return $tmp;
}
OpenPOWER on IntegriCloud