aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-04 20:58:08 -0700
committerFriendika <info@friendika.com>2010-11-04 20:58:08 -0700
commit71ae08d506130e45f68cf4e09d71f3a1c2e2d782 (patch)
tree621c2b4b1600c41e1966eb1b46395d4d718a314d
parent4cba826a2fbe958e5c20c645db7e6932f8736f32 (diff)
downloadvolse-hubzilla-71ae08d506130e45f68cf4e09d71f3a1c2e2d782.tar.gz
volse-hubzilla-71ae08d506130e45f68cf4e09d71f3a1c2e2d782.tar.bz2
volse-hubzilla-71ae08d506130e45f68cf4e09d71f3a1c2e2d782.zip
add display link to notify emails
-rw-r--r--mod/dfrn_notify.php2
-rw-r--r--mod/item.php2
-rw-r--r--view/cmnt_received_eml.tpl4
-rw-r--r--view/wall_received_eml.tpl4
4 files changed, 10 insertions, 2 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php
index 752088a5e..745223dd7 100644
--- a/mod/dfrn_notify.php
+++ b/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'])))
));
diff --git a/mod/item.php b/mod/item.php
index d960b6b1f..2f1e12250 100644
--- a/mod/item.php
+++ b/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))
));
diff --git a/view/cmnt_received_eml.tpl b/view/cmnt_received_eml.tpl
index 8205831aa..d60fcd375 100644
--- a/view/cmnt_received_eml.tpl
+++ b/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
diff --git a/view/wall_received_eml.tpl b/view/wall_received_eml.tpl
index cd3e18a5c..c296de785 100644
--- a/view/wall_received_eml.tpl
+++ b/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