Browse Source

add display link to notify emails

pull/1/head
Friendika 11 years ago
parent
commit
71ae08d506
  1. 2
      mod/dfrn_notify.php
  2. 2
      mod/item.php
  3. 4
      view/cmnt_received_eml.tpl
  4. 4
      view/wall_received_eml.tpl

2
mod/dfrn_notify.php

@ -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'])))
));

2
mod/item.php

@ -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))
));

4
view/cmnt_received_eml.tpl

@ -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

4
view/wall_received_eml.tpl

@ -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

Loading…
Cancel
Save