add display link to notify emails

This commit is contained in:
Friendika 2010-11-04 20:58:08 -07:00
parent 4cba826a2f
commit 71ae08d506
4 changed files with 10 additions and 2 deletions

View file

@ -262,6 +262,7 @@ function dfrn_notify_post(&$a) {
'$siteurl' => $a->get_baseurl(),
'$username' => $importer['username'],
'$email' => $importer['email'],
'$display' => $a->get_baseurl() . '/display/' . $posted_id,
'$from' => $from,
'$body' => strip_tags(bbcode(stripslashes($datarray['body'])))
));
@ -329,6 +330,7 @@ function dfrn_notify_post(&$a) {
'$username' => $importer['username'],
'$email' => $importer['email'],
'$from' => $from,
'$display' => $a->get_baseurl() . '/display' . $r,
'$body' => strip_tags(bbcode(stripslashes($datarray['body'])))
));

View file

@ -251,6 +251,7 @@ function item_post(&$a) {
'$username' => $user['username'],
'$email' => $user['email'],
'$from' => $from,
'$display' => $a->get_baseurl() . '/display/' . $post_id,
'$body' => strip_tags(bbcode($body))
));
@ -273,6 +274,7 @@ function item_post(&$a) {
'$username' => $user['username'],
'$email' => $user['email'],
'$from' => $from,
'$display' => $a->get_baseurl() . '/display/' . $post_id,
'$body' => strip_tags(bbcode($body))
));

View file

@ -7,7 +7,9 @@ Dear $username,
$body
-----
Please login at $siteurl to view the complete conversation.
Please login at $siteurl to view the complete conversation:
$display
Thank you,
$sitename administrator

View file

@ -7,7 +7,9 @@ Dear $username,
$body
-----
Please login at $siteurl to view or delete the item.
Please login at $siteurl to view or delete the item:
$display
Thank you,
$sitename administrator