From b7b8b6a311bd04c03e5bdd4741fffe74228d3be0 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Fri, 4 Sep 2015 14:08:44 -0400 Subject: Fixed #5100 Corrected input names (test_snmp => test-snmp. SAme for growl. Made buttons prettier --- src/usr/local/www/system_advanced_notifications.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/usr/local') 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); -- cgit v1.1