summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_notifications.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2012-02-28 15:59:43 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2012-02-28 16:03:23 -0700
commit66a346b4365a77c1ca873efc4dc9008ec23f2e53 (patch)
tree6556b618a2ba91ed5734796ecf0ee7673d248a71 /usr/local/www/system_advanced_notifications.php
parent970ca1b7831950086e79aa63e54ae6eaf51dbdca (diff)
downloadpfsense-66a346b4365a77c1ca873efc4dc9008ec23f2e53.zip
pfsense-66a346b4365a77c1ca873efc4dc9008ec23f2e53.tar.gz
Fix formatting and move setting back to system.
Diffstat (limited to 'usr/local/www/system_advanced_notifications.php')
-rw-r--r--usr/local/www/system_advanced_notifications.php13
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">&nbsp;</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">&nbsp;</td>
+ </tr>
+ <tr>
<td valign="top" class="">
&nbsp;
</td>
<td>
- <br/>
<input type='submit' id='Submit' name='Submit' value='<?=gettext("Save"); ?>'></form>
</td>
</tr>
OpenPOWER on IntegriCloud