diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-09-04 14:08:44 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-09-04 14:08:44 -0400 |
commit | b7b8b6a311bd04c03e5bdd4741fffe74228d3be0 (patch) | |
tree | 720f32448e8983b252af2f135c8228d2f20f0d6c | |
parent | 6b1ddb4a6bc50911be09e23370ea548127d10a37 (diff) | |
download | pfsense-b7b8b6a311bd04c03e5bdd4741fffe74228d3be0.zip pfsense-b7b8b6a311bd04c03e5bdd4741fffe74228d3be0.tar.gz |
Fixed #5100
Corrected input names (test_snmp => test-snmp. SAme for growl.
Made buttons prettier
-rw-r--r-- | src/usr/local/www/system_advanced_notifications.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/system_advanced_notifications.php b/src/usr/local/www/system_advanced_notifications.php index b78f0a1..581b3ce 100644 --- a/src/usr/local/www/system_advanced_notifications.php +++ b/src/usr/local/www/system_advanced_notifications.php @@ -192,7 +192,7 @@ if ($_POST) { } } - if (isset($_POST['test-smtp'])) { + if (isset($_POST['test-smtp'])) { // Send test message via smtp if (file_exists("/var/db/notices_lastmsg.txt")) { unlink("/var/db/notices_lastmsg.txt"); @@ -266,11 +266,11 @@ $section->addInput(new Form_Input( ))->setHelp('Enter the password of the remote growl notification device.'); $section->addInput(new Form_Input( - 'test_growl', + 'test-growl', 'Test Growl', 'submit', 'Test Growl settings' -))->setHelp('A test notification will be sent even if the service is '. +))->addClass('btn-info')->setHelp('A test notification will be sent even if the service is '. 'marked as disabled.'); $form->add($section); @@ -350,11 +350,11 @@ $section->addInput(new Form_Input( ))->setHelp('Enter the e-mail address password for SMTP authentication.'); $section->addInput(new Form_Input( - 'test_smtp', + 'test-smtp', 'Test SMTP', 'submit', 'Test SMTP settings' -))->setHelp('A test notification will be sent even if the service is '. +))->addClass('btn-info')->setHelp('A test notification will be sent even if the service is '. 'marked as disabled.'); $form->add($section); |