lint
This commit is contained in:
parent
d825db3649
commit
9e35fb26f7
|
@ -1061,7 +1061,7 @@ function new_follower($importer,$contact,$datarray,$item) {
|
|||
$res = mail($r[0]['email'],
|
||||
t("You have a new follower at ") . $a->config['sitename'],
|
||||
$email,
|
||||
'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME] );
|
||||
'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] );
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -441,7 +441,7 @@ function dfrn_request_content(&$a) {
|
|||
$res = mail($r[0]['email'],
|
||||
t("Introduction received at ") . $a->config['sitename'],
|
||||
$email,
|
||||
'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME] );
|
||||
'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] );
|
||||
// This is a redundant notification - no point throwing errors if it fails.
|
||||
}
|
||||
if($auto_confirm) {
|
||||
|
|
|
@ -35,9 +35,8 @@ function lostpass_post(&$a) {
|
|||
'$reset_link' => $a->get_baseurl() . '/lostpass?verify=' . $new_password
|
||||
));
|
||||
|
||||
$res = mail($email,"Password reset requested at {$a->config['sitename']}",$email_tpl,"From: Administrator@{$_SERVER[SERVER_NAME]}");
|
||||
|
||||
|
||||
$res = mail($email, t('Password reset requested at ') . $a->config['sitename'],
|
||||
$email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME]);
|
||||
|
||||
goaway($a->get_baseurl());
|
||||
}
|
||||
|
|
|
@ -195,7 +195,7 @@ function register_post(&$a) {
|
|||
'$uid' => $newuid ));
|
||||
|
||||
$res = mail($email, t('Registration details for ') . $a->config['sitename'],
|
||||
$email_tpl, 'From: ' . t('Administrator@') . $_SERVER['SERVER_NAME']);
|
||||
$email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME']);
|
||||
|
||||
|
||||
if($res) {
|
||||
|
@ -232,7 +232,7 @@ function register_post(&$a) {
|
|||
));
|
||||
|
||||
$res = mail($a->config['admin_email'], t('Registration request at ') . $a->config['sitename'],
|
||||
$email_tpl,'From: ' . t('Administrator@') . $_SERVER[SERVER_NAME]);
|
||||
$email_tpl,'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME']);
|
||||
|
||||
if($res) {
|
||||
notice( t('Your registration is pending approval by the site owner.') . EOL ) ;
|
||||
|
|
|
@ -76,7 +76,7 @@ function regmod_content(&$a) {
|
|||
));
|
||||
|
||||
$res = mail($user[0]['email'], t('Registration details for '). $a->config['sitename'],
|
||||
$email_tpl,'From: ' . t('Administrator@') . $_SERVER[SERVER_NAME] );
|
||||
$email_tpl,'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] );
|
||||
|
||||
if($res) {
|
||||
notice( t('Account approved.') . EOL );
|
||||
|
|
Loading…
Reference in New Issue
Block a user