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"); - - +