summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_notifications.php
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2010-10-10 16:25:10 +0200
committerWarren Baker <warren@decoy.co.za>2010-10-10 16:25:10 +0200
commitebb57fe2396d3b166f411c1d20d83fdded2d3cad (patch)
treea9de1436e8b943f3990399e6a93ecced3a28beb5 /usr/local/www/system_advanced_notifications.php
parentecdae8072e6dc5f3f0b7ab8eaef92322d6a1ead6 (diff)
downloadpfsense-ebb57fe2396d3b166f411c1d20d83fdded2d3cad.zip
pfsense-ebb57fe2396d3b166f411c1d20d83fdded2d3cad.tar.gz
Replace hard coded pfSense with product_name
Diffstat (limited to 'usr/local/www/system_advanced_notifications.php')
-rw-r--r--usr/local/www/system_advanced_notifications.php8
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>
OpenPOWER on IntegriCloud