diff options
author | jim-p <jimp@pfsense.org> | 2016-12-21 13:52:13 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-12-21 13:52:33 -0500 |
commit | b67b143b3204c7f01c1d4ba28cfacbaeccedcc03 (patch) | |
tree | 9f1baa7717b2eea8d460b75b7cb42866603886dc /src/usr/local/www/system_advanced_notifications.php | |
parent | 57baf45fe8a35ec018932833ae48bf9993db24b8 (diff) | |
download | pfsense-b67b143b3204c7f01c1d4ba28cfacbaeccedcc03.zip pfsense-b67b143b3204c7f01c1d4ba28cfacbaeccedcc03.tar.gz |
Move the Growl section down to the end of the page, SMTP is the most commonly used section.
Diffstat (limited to 'src/usr/local/www/system_advanced_notifications.php')
-rw-r--r-- | src/usr/local/www/system_advanced_notifications.php | 101 |
1 files changed, 51 insertions, 50 deletions
diff --git a/src/usr/local/www/system_advanced_notifications.php b/src/usr/local/www/system_advanced_notifications.php index 4acbabb..360e4da 100644 --- a/src/usr/local/www/system_advanced_notifications.php +++ b/src/usr/local/www/system_advanced_notifications.php @@ -207,56 +207,6 @@ display_top_tabs($tab_array); $form = new Form; -$section = new Form_Section('Growl'); - -$section->addInput(new Form_Checkbox( - 'disable_growl', - 'Disable Growl', - 'Disable Growl Notifications', - $pconfig['disable_growl'] -))->setHelp('Check this option to disable growl notifications but preserve the '. - 'settings below.'); - -$section->addInput(new Form_Input( - 'name', - 'Registration Name', - 'text', - $pconfig['name'], - ['placeholder' => 'pfSense-Growl'] -))->setHelp('Enter the name to register with the Growl server.'); - -$section->addInput(new Form_Input( - 'notification_name', - 'Notification Name', - 'text', - $pconfig['notification_name'], - ['placeholder' => $g["product_name"].' growl alert'] - -))->setHelp('Enter a name for the Growl notifications.'); - -$section->addInput(new Form_Input( - 'ipaddress', - 'IP Address', - 'text', - $pconfig['ipaddress'] -))->setHelp('This is the IP address to send growl notifications to.'); - -$section->addPassword(new Form_Input( - 'password', - 'Password', - 'text', - $pconfig['password'] -))->setHelp('Enter the password of the remote growl notification device.'); - -$section->addInput(new Form_Button( - 'test-growl', - 'Test Growl Settings', - null, - 'fa-rss' -))->addClass('btn-info')->setHelp('A test notification will be sent even if the service is '. - 'marked as disabled.'); - -$form->add($section); $section = new Form_Section('E-Mail'); $section->addInput(new Form_Checkbox( @@ -359,6 +309,57 @@ $section->addInput(new Form_Checkbox( 'play.'); $form->add($section); + +$section = new Form_Section('Growl'); + +$section->addInput(new Form_Checkbox( + 'disable_growl', + 'Disable Growl', + 'Disable Growl Notifications', + $pconfig['disable_growl'] +))->setHelp('Check this option to disable growl notifications but preserve the '. + 'settings below.'); + +$section->addInput(new Form_Input( + 'name', + 'Registration Name', + 'text', + $pconfig['name'], + ['placeholder' => 'pfSense-Growl'] +))->setHelp('Enter the name to register with the Growl server.'); + +$section->addInput(new Form_Input( + 'notification_name', + 'Notification Name', + 'text', + $pconfig['notification_name'], + ['placeholder' => $g["product_name"].' growl alert'] + +))->setHelp('Enter a name for the Growl notifications.'); + +$section->addInput(new Form_Input( + 'ipaddress', + 'IP Address', + 'text', + $pconfig['ipaddress'] +))->setHelp('This is the IP address to send growl notifications to.'); + +$section->addPassword(new Form_Input( + 'password', + 'Password', + 'text', + $pconfig['password'] +))->setHelp('Enter the password of the remote growl notification device.'); + +$section->addInput(new Form_Button( + 'test-growl', + 'Test Growl Settings', + null, + 'fa-rss' +))->addClass('btn-info')->setHelp('A test notification will be sent even if the service is '. + 'marked as disabled.'); + +$form->add($section); print($form); include("foot.inc"); |