From ebb57fe2396d3b166f411c1d20d83fdded2d3cad Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Sun, 10 Oct 2010 16:25:10 +0200 Subject: Replace hard coded pfSense with product_name --- usr/local/www/system_advanced_notifications.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php index 0ee67c7..9c1ccd5 100644 --- a/usr/local/www/system_advanced_notifications.php +++ b/usr/local/www/system_advanced_notifications.php @@ -49,7 +49,7 @@ if($config['notifications']['growl']['ipaddress']) if($config['notifications']['growl']['notification_name']) $pconfig['notification_name'] = $config['notifications']['growl']['notification_name']; else - $pconfig['notification_name'] = 'pfSense growl alert'; + $pconfig['notification_name'] = "{$g['product_name']} growl alert"; if($config['notifications']['growl']['name']) $pconfig['name'] = $config['notifications']['growl']['name']; @@ -111,13 +111,13 @@ if ($_POST) { if($config['notifications']['growl']['ipaddress'] && $config['notifications']['growl']['password'] = $_POST['password']) { register_via_growl(); - notify_via_growl(gettext("This is a test message from pfSense. It is safe to ignore this message.")); + notify_via_growl(gettext("This is a test message from {$g['product_name']}. It is safe to ignore this message.")); } // Send test message via smtp if(file_exists("/var/db/notices_lastmsg.txt")) unlink("/var/db/notices_lastmsg.txt"); - $savemsg = notify_via_smtp(gettext("This is a test message from pfSense. It is safe to ignore this message.")); + $savemsg = notify_via_smtp(gettext("This is a test message from {$g['product_name']}. It is safe to ignore this message.")); pfSenseHeader("system_advanced_notifications.php"); exit; @@ -174,7 +174,7 @@ include("head.inc"); '>
- + -- cgit v1.1