summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_advanced_notifications.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-09-04 14:08:44 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-09-04 14:08:44 -0400
commitb7b8b6a311bd04c03e5bdd4741fffe74228d3be0 (patch)
tree720f32448e8983b252af2f135c8228d2f20f0d6c /src/usr/local/www/system_advanced_notifications.php
parent6b1ddb4a6bc50911be09e23370ea548127d10a37 (diff)
downloadpfsense-b7b8b6a311bd04c03e5bdd4741fffe74228d3be0.zip
pfsense-b7b8b6a311bd04c03e5bdd4741fffe74228d3be0.tar.gz
Fixed #5100
Corrected input names (test_snmp => test-snmp. SAme for growl. Made buttons prettier
Diffstat (limited to 'src/usr/local/www/system_advanced_notifications.php')
-rw-r--r--src/usr/local/www/system_advanced_notifications.php10
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);
OpenPOWER on IntegriCloud