diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2012-02-28 15:59:43 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2012-02-28 16:03:23 -0700 |
commit | 66a346b4365a77c1ca873efc4dc9008ec23f2e53 (patch) | |
tree | 6556b618a2ba91ed5734796ecf0ee7673d248a71 | |
parent | 970ca1b7831950086e79aa63e54ae6eaf51dbdca (diff) | |
download | pfsense-66a346b4365a77c1ca873efc4dc9008ec23f2e53.zip pfsense-66a346b4365a77c1ca873efc4dc9008ec23f2e53.tar.gz |
Fix formatting and move setting back to system.
-rw-r--r-- | usr/local/www/system_advanced_notifications.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php index d170a90..9983711 100644 --- a/usr/local/www/system_advanced_notifications.php +++ b/usr/local/www/system_advanced_notifications.php @@ -74,7 +74,7 @@ if($config['notifications']['smtp']['fromaddress']) $pconfig['smtpfromaddress'] = $config['notifications']['smtp']['fromaddress']; // System Sounds -$pconfig['disablebeep'] = isset($config['notifications']['disablebeep']); +$pconfig['disablebeep'] = isset($config['system']['disablebeep']); if ($_POST) { @@ -113,9 +113,9 @@ if ($_POST) { // System Sounds if($_POST['disablebeep'] == "yes") - $config['notifications']['disablebeep'] = true; + $config['system']['disablebeep'] = true; else - unset($config['notifications']['disablebeep']); + unset($config['system']['disablebeep']); write_config(); @@ -254,6 +254,9 @@ include("head.inc"); <?=gettext("Enter the e-mail address password for SMTP authentication."); ?> </td> </tr> + <tr> + <td colspan="2" class="list" height="12"> </td> + </tr> <!-- System Sounds --> <tr> <td colspan="2" valign="top" class="listtopic"><?=gettext("System Sounds"); ?></td> @@ -268,11 +271,13 @@ include("head.inc"); </td> </tr> <tr> + <td colspan="2" class="list" height="12"> </td> + </tr> + <tr> <td valign="top" class=""> </td> <td> - <br/> <input type='submit' id='Submit' name='Submit' value='<?=gettext("Save"); ?>'></form> </td> </tr> |