diff options
author | Phil Davis <phil.davis@inf.org> | 2015-12-15 23:00:44 +0545 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-15 12:25:11 -0500 |
commit | 8f65151c5beaee62d661af81bf96a93edaae22d9 (patch) | |
tree | f629ac10993774b9390f4eb5e95f8524661a020b /src/usr/local/www/system_advanced_misc.php | |
parent | 2e3732ecdd5e9fa8bbc540729b869d99d00a45ad (diff) | |
download | pfsense-8f65151c5beaee62d661af81bf96a93edaae22d9.zip pfsense-8f65151c5beaee62d661af81bf96a93edaae22d9.tar.gz |
Code style System Advanced
Diffstat (limited to 'src/usr/local/www/system_advanced_misc.php')
-rw-r--r-- | src/usr/local/www/system_advanced_misc.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/system_advanced_misc.php b/src/usr/local/www/system_advanced_misc.php index 422ca6f..ff11032 100644 --- a/src/usr/local/www/system_advanced_misc.php +++ b/src/usr/local/www/system_advanced_misc.php @@ -301,11 +301,13 @@ if ($_POST) { $pgtitle = array(gettext("System"), gettext("Advanced"), gettext("Miscellaneous")); include("head.inc"); -if ($input_errors) +if ($input_errors) { print_input_errors($input_errors); +} -if ($savemsg) +if ($savemsg) { print_info_box($savemsg, success); +} $tab_array = array(); $tab_array[] = array(gettext("Admin Access"), false, "system_advanced_admin.php"); @@ -561,7 +563,7 @@ if ($g['platform'] == "pfSense") { $opts = array(0.5, 1, 2, 3, 4, 5, 7.5, 10, 15, 20, 30, 60); $vals = array( 6, 12, 24, 36, 48, 60, 90, 120, 180, 240, 241, 242); - $section->addINput(new Form_Select( + $section->addInput(new Form_Select( 'harddiskstandby', 'Hard disk standby time', $pconfig['harddiskstandby'], |