summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_settings.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_ipsec_settings.php
parent0cf1b4f4f29f2ad63691d598e83a9327ae9867ff (diff)
downloadpfsense-c86c14dc50e2285e6e86eded0ae9e61fffac1550.zip
pfsense-c86c14dc50e2285e6e86eded0ae9e61fffac1550.tar.gz
Code style v w
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_settings.php')
-rw-r--r--src/usr/local/www/vpn_ipsec_settings.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/usr/local/www/vpn_ipsec_settings.php b/src/usr/local/www/vpn_ipsec_settings.php
index 62a6869..2062716 100644
--- a/src/usr/local/www/vpn_ipsec_settings.php
+++ b/src/usr/local/www/vpn_ipsec_settings.php
@@ -252,11 +252,13 @@ function maxmss_checked(obj) {
</script>
<?php
-if ($savemsg)
+if ($savemsg) {
print_info_box($savemsg);
+}
-if ($input_errors)
+if ($input_errors) {
print_input_errors($input_errors);
+}
$tab_array = array();
$tab_array[0] = array(gettext("Tunnels"), false, "vpn_ipsec.php");
@@ -269,8 +271,7 @@ $form = new Form;
$section = new Form_Section('Start IPsec in debug mode based on sections selected');
-foreach ($ipsec_log_cats as $cat => $desc)
-{
+foreach ($ipsec_log_cats as $cat => $desc) {
$section->addInput(new Form_Select(
$cat,
$desc,
@@ -338,8 +339,9 @@ $section->addInput(new Form_Checkbox(
$group = new Form_Group('Maximum MSS');
$group->addClass('toggle-maxmss collapse');
-if (!empty($pconfig['maxmss_enable']))
+if (!empty($pconfig['maxmss_enable'])) {
$group->addClass('in');
+}
$group->add(new Form_Input(
'maxmss',
OpenPOWER on IntegriCloud