From c86c14dc50e2285e6e86eded0ae9e61fffac1550 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 17 Dec 2015 17:47:26 +0545 Subject: Code style v w --- src/usr/local/www/vpn_l2tp_users.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/usr/local/www/vpn_l2tp_users.php') diff --git a/src/usr/local/www/vpn_l2tp_users.php b/src/usr/local/www/vpn_l2tp_users.php index 7e714c1..101889a 100644 --- a/src/usr/local/www/vpn_l2tp_users.php +++ b/src/usr/local/www/vpn_l2tp_users.php @@ -101,20 +101,23 @@ if ($_GET['act'] == "del") { include("head.inc"); -if ($savemsg) +if ($savemsg) { print_info_box($savemsg, success); +} -if (isset($config['l2tp']['radius']['enable'])) +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')) +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!") . ""); +} - $tab_array = array(); - $tab_array[] = array(gettext("Configuration"), false, "vpn_l2tp.php"); - $tab_array[] = array(gettext("Users"), true, "vpn_l2tp_users.php"); - display_top_tabs($tab_array); +$tab_array = array(); +$tab_array[] = array(gettext("Configuration"), false, "vpn_l2tp.php"); +$tab_array[] = array(gettext("Users"), true, "vpn_l2tp_users.php"); +display_top_tabs($tab_array); ?>
@@ -132,7 +135,7 @@ if (is_subsystem_dirty('l2tpusers'))
- +   -- cgit v1.1