summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_phase1.php
diff options
context:
space:
mode:
authorJared Dillard <jdillard@netgate.com>2015-09-03 11:01:35 -0500
committerJared Dillard <jdillard@netgate.com>2015-09-03 11:01:35 -0500
commitd90269bf8d0402b863e220fb0cc291f6c7a6fd84 (patch)
treea4cafc3a12845cab30cac5f92ec474aca5d7c4cb /src/usr/local/www/vpn_ipsec_phase1.php
parent7967fc44bb5e77eec10fe8c3059069c506165339 (diff)
downloadpfsense-d90269bf8d0402b863e220fb0cc291f6c7a6fd84.zip
pfsense-d90269bf8d0402b863e220fb0cc291f6c7a6fd84.tar.gz
move error message to top of page
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_phase1.php')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase1.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase1.php b/src/usr/local/www/vpn_ipsec_phase1.php
index 5a47a64..3769731 100644
--- a/src/usr/local/www/vpn_ipsec_phase1.php
+++ b/src/usr/local/www/vpn_ipsec_phase1.php
@@ -620,6 +620,9 @@ $shortcut_section = "ipsec";
include("head.inc");
+ if ($input_errors)
+ print_input_errors($input_errors);
+
$tab_array = array();
$tab_array[] = array(gettext("Tunnels"), true, "vpn_ipsec.php");
$tab_array[] = array(gettext("Mobile clients"), false, "vpn_ipsec_mobile.php");
@@ -899,11 +902,6 @@ if (isset($pconfig['ealgo']['keylen']))
<form action="vpn_ipsec_phase1.php" method="post" name="iform" id="iform">
-<?php
- if ($input_errors)
- print_input_errors($input_errors);
-?>
-
<script type="text/javascript">
//<![CDATA[
events.push(function(){
@@ -1109,4 +1107,4 @@ events.push(function(){
</script>
<?php
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud