summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_mobile.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-23 23:28:30 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-23 23:28:30 +0545
commit0d711d380b719219a802b2b67db4ccce6cb645d3 (patch)
treea51b4f8f911ca195f1424eab00a9007068ede019 /src/usr/local/www/vpn_ipsec_mobile.php
parent5dfc79c9f05c77ecf4ceff2981d81729077bb8ea (diff)
downloadpfsense-0d711d380b719219a802b2b67db4ccce6cb645d3.zip
pfsense-0d711d380b719219a802b2b67db4ccce6cb645d3.tar.gz
Remove print_info_box_np
Put the real code into print_info_box, adding just a $btntext parameter to the existing 3 params of print_info_box. Change the remaining print_info_box_np() calls to use print_info_box() Note: The previous code also had a "bug" - the "apply" button said "apply" literally on the UI, when it should have said "Apply changes". That is fixed so that now the "Apply changes" or other specified button text is actually displayed to the user. (In the old code it was literally displaying $name when it should have been $value)
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_mobile.php')
-rw-r--r--src/usr/local/www/vpn_ipsec_mobile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_ipsec_mobile.php b/src/usr/local/www/vpn_ipsec_mobile.php
index f77db44..869cf6e 100644
--- a/src/usr/local/www/vpn_ipsec_mobile.php
+++ b/src/usr/local/www/vpn_ipsec_mobile.php
@@ -445,7 +445,7 @@ foreach ($a_phase1 as $ph1ent) {
}
}
if ($pconfig['enable'] && !$ph1found) {
- print_info_box_np(gettext("Support for IPsec Mobile clients is enabled but a Phase1 definition was not found") . ".<br />" . gettext("Please click Create to define one."), gettext("create"), gettext("Create Phase1"), true);
+ print_info_box(gettext("Support for IPsec Mobile clients is enabled but a Phase1 definition was not found") . ".<br />" . gettext("Please click Create to define one."), "warning", "create", gettext("Create Phase1"));
}
if ($input_errors) {
OpenPOWER on IntegriCloud