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_notifications.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_notifications.php')
-rw-r--r-- | src/usr/local/www/system_advanced_notifications.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/system_advanced_notifications.php b/src/usr/local/www/system_advanced_notifications.php index bdc6034..16be2d5 100644 --- a/src/usr/local/www/system_advanced_notifications.php +++ b/src/usr/local/www/system_advanced_notifications.php @@ -183,7 +183,7 @@ if ($_POST) { if (isset($_POST['test-growl'])) { // Send test message via growl if ($config['notifications']['growl']['ipaddress'] && - $config['notifications']['growl']['password'] = $_POST['password']) { + $config['notifications']['growl']['password'] = $_POST['password']) { unlink_if_exists($g['vardb_path'] . "/growlnotices_lastmsg.txt"); register_via_growl(); notify_via_growl(sprintf(gettext("This is a test message from %s. It is safe to ignore this message."), $g['product_name']), true); @@ -202,11 +202,13 @@ if ($_POST) { $pgtitle = array(gettext("System"), gettext("Advanced"), gettext("Notifications")); 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"); |