aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_notify.php2
-rw-r--r--mod/item.php2
2 files changed, 4 insertions, 0 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))
));