summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-04-11 06:56:55 +0545
committerStephen Beaver <sbeaver@netgate.com>2016-04-11 08:24:41 -0400
commitaf12fdbca57f920a46ab3ba4a6c890d7c624a3b8 (patch)
treee09f1a1f9d8942989251338750286d5454d2c388 /src
parent9bf1523981166dbf65e3caea9e698d88aabc38d4 (diff)
downloadpfsense-af12fdbca57f920a46ab3ba4a6c890d7c624a3b8.zip
pfsense-af12fdbca57f920a46ab3ba4a6c890d7c624a3b8.tar.gz
Make VPN IPsec Keys messages proper infoblock
Redmine #6107 Note: I made this text be open by default on the edit page (blockopen) because maybe users should see it by default.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/vpn_ipsec_keys.php4
-rw-r--r--src/usr/local/www/vpn_ipsec_keys_edit.php8
2 files changed, 8 insertions, 4 deletions
diff --git a/src/usr/local/www/vpn_ipsec_keys.php b/src/usr/local/www/vpn_ipsec_keys.php
index 84649e8..fd773b4 100644
--- a/src/usr/local/www/vpn_ipsec_keys.php
+++ b/src/usr/local/www/vpn_ipsec_keys.php
@@ -201,9 +201,9 @@ if (is_subsystem_dirty('ipsec')) {
<?=gettext("Add")?>
</a>
</nav>
-
+<div class="infoblock">
<?php
print_info_box(gettext("PSK for any user can be set by using an identifier of any."), 'info', false);
?>
-
+</div>
<?php include("foot.inc"); ?>
diff --git a/src/usr/local/www/vpn_ipsec_keys_edit.php b/src/usr/local/www/vpn_ipsec_keys_edit.php
index 4757c4c..92994c7 100644
--- a/src/usr/local/www/vpn_ipsec_keys_edit.php
+++ b/src/usr/local/www/vpn_ipsec_keys_edit.php
@@ -197,7 +197,11 @@ if (isset($id) && $a_secret[$id]) {
$form->add($section);
print $form;
-
+?>
+<div class="infoblock blockopen">
+<?php
print_info_box(gettext("PSK for any user can be set by using an identifier of any."), 'info', false);
-
+?>
+</div>
+<?php
include("foot.inc");
OpenPOWER on IntegriCloud