personalise emails send from the server
This commit is contained in:
parent
b60cf21f8a
commit
dd9f475ff6
1 changed files with 5 additions and 1 deletions
|
@ -20,7 +20,11 @@ function notification($params) {
|
||||||
$siteurl = $a->get_baseurl(true);
|
$siteurl = $a->get_baseurl(true);
|
||||||
$thanks = t('Thank You,');
|
$thanks = t('Thank You,');
|
||||||
$sitename = $a->config['sitename'];
|
$sitename = $a->config['sitename'];
|
||||||
$site_admin = sprintf( t('%s Administrator'), $sitename);
|
if (!x($a->config['admin_name'])) {
|
||||||
|
$site_admin = sprintf( t('%s Administrator'), $sitename);
|
||||||
|
} else {
|
||||||
|
$site_admin = sprintf( t('%1$s, %2$s Administrator'), $a->config['admin_name'], $sitename);
|
||||||
|
}
|
||||||
$nickname = "";
|
$nickname = "";
|
||||||
|
|
||||||
$sender_name = $sitename;
|
$sender_name = $sitename;
|
||||||
|
|
Loading…
Reference in a new issue