From 85587e7dd2cdbafd4b075b7b0cd892df5172a7d3 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Wed, 4 Nov 2015 15:09:41 -0500 Subject: [PATCH] Fix save/update messages and format --- src/usr/local/www/vpn_l2tp_users.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/usr/local/www/vpn_l2tp_users.php b/src/usr/local/www/vpn_l2tp_users.php index 1f005eddc5..b53a2f09c9 100644 --- a/src/usr/local/www/vpn_l2tp_users.php +++ b/src/usr/local/www/vpn_l2tp_users.php @@ -100,19 +100,20 @@ if ($_GET['act'] == "del") { } include("head.inc"); -?> - - -
-" . gettext("You must apply the changes in order for them to take effect") . ".
" . gettext("Warning: this will terminate all current l2tp sessions!") . "")?>
- +if ($savemsg) + print_info_box($savemsg, success); + +if (isset($config['l2tp']['radius']['enable'])) + print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used.")); + +if (is_subsystem_dirty('l2tpusers')) + print_info_box_np(gettext("The l2tp user list has been modified") . ".
" . gettext("You must apply the changes in order for them to take effect") . ".
" . gettext("Warning: this will terminate all current l2tp sessions!") . ""); + -
@@ -121,7 +122,7 @@ include("head.inc"); - + @@ -151,5 +152,4 @@ include("head.inc"); - - +