summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-05-10 15:27:44 -0400
committerjim-p <jimp@pfsense.org>2016-05-10 15:27:44 -0400
commit16203db3766d694c22a49ff25353e1109bf64c6d (patch)
tree827faa88c0c12a592a0afbdb7c4db15fd8a76b84 /src/usr/local
parentd515da75288edbaa65e2ae0f5213047164b0baaf (diff)
downloadpfsense-16203db3766d694c22a49ff25353e1109bf64c6d.zip
pfsense-16203db3766d694c22a49ff25353e1109bf64c6d.tar.gz
Fix tab highlighting when editing mobile IPsec P1. Fixes #6341
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase1.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase1.php b/src/usr/local/www/vpn_ipsec_phase1.php
index fdcef2b..973bf6c 100644
--- a/src/usr/local/www/vpn_ipsec_phase1.php
+++ b/src/usr/local/www/vpn_ipsec_phase1.php
@@ -662,10 +662,8 @@ function build_eal_list() {
if ($pconfig['mobile']) {
$pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Mobile Clients"), gettext("Edit Phase 1"));
- $editing_mobile = true;
} else {
$pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Tunnels"), gettext("Edit Phase 1"));
- $editing_mobile = false;
}
$shortcut_section = "ipsec";
@@ -677,8 +675,8 @@ if ($input_errors) {
}
$tab_array = array();
-$tab_array[] = array(gettext("Tunnels"), !$editing_mobile, "vpn_ipsec.php");
-$tab_array[] = array(gettext("Mobile Clients"), $editing_mobile, "vpn_ipsec_mobile.php");
+$tab_array[] = array(gettext("Tunnels"), true, "vpn_ipsec.php");
+$tab_array[] = array(gettext("Mobile Clients"), false, "vpn_ipsec_mobile.php");
$tab_array[] = array(gettext("Pre-Shared Keys"), false, "vpn_ipsec_keys.php");
$tab_array[] = array(gettext("Advanced Settings"), false, "vpn_ipsec_settings.php");
display_top_tabs($tab_array);
OpenPOWER on IntegriCloud