From 3cc02b0974f117f337dba261a144bafb3fc70ae1 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 27 Jun 2016 17:04:44 +0200 Subject: [PATCH] cleanup js in vpn_ipsec_phase1.php for https://github.com/opnsense/core/issues/1005 --- src/www/vpn_ipsec_phase1.php | 240 +++++++++++++---------------------- 1 file changed, 87 insertions(+), 153 deletions(-) diff --git a/src/www/vpn_ipsec_phase1.php b/src/www/vpn_ipsec_phase1.php index 01a32ea0b..508b4efaa 100644 --- a/src/www/vpn_ipsec_phase1.php +++ b/src/www/vpn_ipsec_phase1.php @@ -417,157 +417,87 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $service_hook = 'ipsec'; legacy_html_escape_form_data($pconfig); - include("head.inc"); - ?>
@@ -729,7 +659,7 @@ function dpdchkbox_change() { - array( 'name' => 'Hybrid RSA + Xauth', 'mobile' => true ), @@ -776,7 +706,7 @@ function dpdchkbox_change() { - array( 'desc' => gettext('My IP address'), 'mobile' => true ), @@ -801,10 +731,10 @@ endforeach; ?> - + - array( 'desc' => gettext('Peer IP address'), 'mobile' => false ), @@ -832,7 +762,7 @@ endforeach; ?> } ?> - + - + @@ -891,11 +821,15 @@ endforeach; ?> - $algodata) : ?> - ?> - @@ -1017,7 +951,7 @@ endforeach; ?> - onclick="dpdchkbox_change()" /> + /> @@ -1047,7 +981,7 @@ endforeach; ?> endif; ?> - +