Commit 39c34cbd authored by Franco Fichtner's avatar Franco Fichtner

vpn/ipsec: push back service shortcut for a while longer #432

parent e8e37d0c
......@@ -122,6 +122,7 @@ $pconfig = $config['ipsec']['phase1'];
legacy_html_escape_form_data($pconfig);
legacy_html_escape_form_data($status);
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Status Overview'));
$shortcut_section = 'ipsec';
include("head.inc");
?>
......
......@@ -33,6 +33,7 @@ require_once("services.inc");
require_once("interfaces.inc");
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Lease Status'));
$shortcut_section = 'ipsec';
include("head.inc");
$mobile = array(); // TODO: temporary disabled ( https://github.com/opnsense/core/issues/139 ) ipsec_dump_mobile();
......
......@@ -34,6 +34,7 @@ require_once("services.inc");
require_once("interfaces.inc");
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Security Association Database'));
$shortcut_section = 'ipsec';
include("head.inc");
$sad = ipsec_dump_sad();
......
......@@ -34,6 +34,7 @@ require_once("services.inc");
require_once("interfaces.inc");
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Security Policy Database'));
$shortcut_section = 'ipsec';
include("head.inc");
$spd = ipsec_dump_spd();
......
......@@ -47,6 +47,7 @@ if ($_POST['clear']) {
}
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('System Log'));
$shortcut_section = 'ipsec';
include("head.inc");
?>
......
......@@ -171,6 +171,9 @@ $shortcuts['dhcp6']['main'] = "services_dhcpv6.php";
$shortcuts['dhcp6']['log'] = "diag_logs_dhcp.php";
$shortcuts['dhcp6']['status'] = "status_dhcpv6_leases.php";
$shortcuts['ipsec'] = array();
$shortcuts['ipsec']['service'] = "ipsec";
$shortcuts['firewall'] = array();
$shortcuts['firewall']['main'] = "firewall_rules.php";
$shortcuts['firewall']['log'] = "diag_logs_filter.php";
......
......@@ -237,6 +237,7 @@ $pconfig['enable'] = isset($config['ipsec']['enable']);
legacy_html_escape_form_data($pconfig);
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Tunnel Settings'));
$shortcut_section = 'ipsec';
include("head.inc");
......
......@@ -71,6 +71,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Pre-Shared Keys'));
$shortcut_section = 'ipsec';
include("head.inc");
?>
......
......@@ -117,6 +117,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Edit Pre-Shared Key'));
$shortcut_section = 'ipsec';
legacy_html_escape_form_data($pconfig);
......
......@@ -195,6 +195,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
legacy_html_escape_form_data($pconfig);
$pgtitle = array(gettext('VPN'),gettext('IPsec'), gettext('Mobile Clients'));
$shortcut_section = 'ipsec';
include("head.inc");
?>
......
......@@ -418,6 +418,7 @@ if (!empty($pconfig['mobile'])) {
} else {
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Edit Phase 1"));
}
$shortcut_section = 'ipsec';
legacy_html_escape_form_data($pconfig);
......
......@@ -432,6 +432,7 @@ if (!empty($pconfig['mobile'])) {
} else {
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Edit Phase 2"));
}
$shortcut_section = 'ipsec';
legacy_html_escape_form_data($pconfig);
......
......@@ -105,6 +105,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
$pgtitle = array(gettext('VPN'), gettext('IPsec'), gettext('Advanced Settings'));
$shortcut_section = 'ipsec';
include("head.inc");
?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment