notify link again

This commit is contained in:
Friendika 2010-11-26 03:19:41 -08:00
parent bdabc89026
commit 846fa8d5f7
1 changed files with 2 additions and 2 deletions

View File

@ -271,12 +271,12 @@ function dfrn_notify_post(&$a) {
'$siteurl' => $a->get_baseurl(), '$siteurl' => $a->get_baseurl(),
'$username' => $importer['username'], '$username' => $importer['username'],
'$email' => $importer['email'], '$email' => $importer['email'],
'$display' => $a->get_baseurl() . '/display/' . $posted_id, '$display' => $a->get_baseurl() . '/display/' . $importer['nickname'] . '/' . $posted_id,
'$from' => $from, '$from' => $from,
'$body' => strip_tags(bbcode(stripslashes($datarray['body']))) '$body' => strip_tags(bbcode(stripslashes($datarray['body'])))
)); ));
$res = mail($importer['email'], $from . t(" commented on your item at ") . $a->config['sitename'], $res = mail($importer['email'], $from . t(" commented on an item at ") . $a->config['sitename'],
$email_tpl,t("From: Administrator@") . $a->get_hostname() ); $email_tpl,t("From: Administrator@") . $a->get_hostname() );
} }
} }