summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_l2tp_users.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-17 17:47:26 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-17 17:47:26 +0545
commitc86c14dc50e2285e6e86eded0ae9e61fffac1550 (patch)
tree009b23ed4bf8d739d27ae10a666304259f726465 /src/usr/local/www/vpn_l2tp_users.php
parent0cf1b4f4f29f2ad63691d598e83a9327ae9867ff (diff)
downloadpfsense-c86c14dc50e2285e6e86eded0ae9e61fffac1550.zip
pfsense-c86c14dc50e2285e6e86eded0ae9e61fffac1550.tar.gz
Code style v w
Diffstat (limited to 'src/usr/local/www/vpn_l2tp_users.php')
-rw-r--r--src/usr/local/www/vpn_l2tp_users.php19
1 files changed, 11 insertions, 8 deletions
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") . ".<br />" . gettext("You must apply the changes in order for them to take effect") . ".<br /><b>" . gettext("Warning: this will terminate all current l2tp sessions!") . "</b>");
+}
- $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);
?>
<div class="table-responsive">
<table class="table table-striped table-hover">
@@ -132,7 +135,7 @@ if (is_subsystem_dirty('l2tpusers'))
<?=htmlspecialchars($secretent['name'])?>
</td>
<td>
- <?php if($secretent['ip'] == "") $secretent['ip'] = "Dynamic"?>
+ <?php if ($secretent['ip'] == "") $secretent['ip'] = "Dynamic"?>
<?=htmlspecialchars($secretent['ip'])?>&nbsp;
</td>
<td>
OpenPOWER on IntegriCloud