diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-16 21:26:57 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-16 21:26:57 +0000 |
commit | 990dc9cecfb0af826def203aa887a816e2d059d9 (patch) | |
tree | c63b9140ca7c0717a304a95a411be5d6fb8fa637 /usr/local/www/system_groupmanager.php | |
parent | c8823c18c336b6f6b89159debbdc4098798bd4bb (diff) | |
download | pfsense-990dc9cecfb0af826def203aa887a816e2d059d9.zip pfsense-990dc9cecfb0af826def203aa887a816e2d059d9.tar.gz |
* Remove blank trailing line
* Allow custom urls that include pkg.php to be saved
Diffstat (limited to 'usr/local/www/system_groupmanager.php')
-rw-r--r-- | usr/local/www/system_groupmanager.php | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/usr/local/www/system_groupmanager.php b/usr/local/www/system_groupmanager.php index 6a92d9f..3b5abc1 100644 --- a/usr/local/www/system_groupmanager.php +++ b/usr/local/www/system_groupmanager.php @@ -112,6 +112,17 @@ function getAdminPageList() { $tmp['javascript.inc.php'] = ("Hidden: Ajax Helper 2 "); $tmp['sajax.class.php'] = ("Hidden: Ajax Helper 3"); + $tmp['pkg.php?xml=openvpn.xml'] = ("VPN: OpenVPN"); + + /* unset older openvpn scripts, we have a custom version + * included in CoreGUI */ + unset($tmp['vpn_openvpn.php']); + unset($tmp['vpn_openvpn_crl.php']); + unset($tmp['vpn_openvpn_ccd.php']); + unset($tmp['vpn_openvpn_srv.php']); + unset($tmp['vpn_openvpn_cli.php']); + unset($tmp['vpn_openvpn_ccd_edit.php']); + unset($tmp['progress.php']); unset($tmp['stats.php']); unset($tmp['phpinfo.php']); @@ -243,9 +254,7 @@ if ($_POST) { unset($group['pages']); foreach ($pages as $fname => $title) { $identifier = str_replace('.php','',$fname); - if ($_POST[$identifier] == 'yes') { - $group['pages'][] = $fname; - } + $group['pages'][] = $fname; } if (isset($id) && $a_group[$id]) |