summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_phase2.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-07 22:46:09 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-07 22:46:09 +0545
commit0cd42f9baa86277072092d295bfb9de021f1fce0 (patch)
tree4e6a686f13ce88c60e3f0cac48bea8ad5bb19f15 /src/usr/local/www/vpn_ipsec_phase2.php
parentbf93476c337524e9ddecc2117faadb4240a5d4f5 (diff)
downloadpfsense-0cd42f9baa86277072092d295bfb9de021f1fce0.zip
pfsense-0cd42f9baa86277072092d295bfb9de021f1fce0.tar.gz
Standardize VPN IPsec breadcrumbs
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase2.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase2.php b/src/usr/local/www/vpn_ipsec_phase2.php
index f402917..85d5f1c 100644
--- a/src/usr/local/www/vpn_ipsec_phase2.php
+++ b/src/usr/local/www/vpn_ipsec_phase2.php
@@ -436,9 +436,11 @@ if ($_POST) {
}
if ($pconfig['mobile']) {
- $pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Edit Phase 2"), gettext("Mobile Client"));
+ $pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Mobile Client"), gettext("Edit Phase 2"));
+ $editing_mobile = true;
} else {
- $pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Edit Phase 2"));
+ $pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Tunnel"), gettext("Edit Phase 2"));
+ $editing_mobile = false;
}
$shortcut_section = "ipsec";
@@ -515,8 +517,8 @@ if ($input_errors)
print_input_errors($input_errors);
$tab_array = array();
-$tab_array[0] = array(gettext("Tunnels"), true, "vpn_ipsec.php");
-$tab_array[1] = array(gettext("Mobile clients"), false, "vpn_ipsec_mobile.php");
+$tab_array[0] = array(gettext("Tunnels"), !$editing_mobile, "vpn_ipsec.php");
+$tab_array[1] = array(gettext("Mobile Clients"), $editing_mobile, "vpn_ipsec_mobile.php");
$tab_array[2] = array(gettext("Pre-Shared Keys"), false, "vpn_ipsec_keys.php");
$tab_array[3] = array(gettext("Advanced Settings"), false, "vpn_ipsec_settings.php");
display_top_tabs($tab_array);
OpenPOWER on IntegriCloud