diff options
author | Warren Baker <warren@decoy.co.za> | 2010-10-10 16:25:10 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2010-10-10 16:25:10 +0200 |
commit | ebb57fe2396d3b166f411c1d20d83fdded2d3cad (patch) | |
tree | a9de1436e8b943f3990399e6a93ecced3a28beb5 | |
parent | ecdae8072e6dc5f3f0b7ab8eaef92322d6a1ead6 (diff) | |
download | pfsense-ebb57fe2396d3b166f411c1d20d83fdded2d3cad.zip pfsense-ebb57fe2396d3b166f411c1d20d83fdded2d3cad.tar.gz |
Replace hard coded pfSense with product_name
-rw-r--r-- | usr/local/www/system_advanced_notifications.php | 8 |
1 files 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"); <td width="22%" valign="top" class="vncell"><?=gettext("Notification Name"); ?></td> <td width="78%" class="vtable"> <input name='notification_name' value='<?php echo $pconfig['notification_name']; ?>'><br/> - <?=gettext("Enter a name for the Growl notifications (default: pfSense growl alert)."); ?> + <?=gettext("Enter a name for the Growl notifications (default: {$g['product_name']} growl alert)."); ?> </td> </tr> <tr> |