diff options
author | Friendika <info@friendika.com> | 2011-04-20 04:50:12 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-20 04:50:12 -0700 |
commit | afe4cc8bfa01017f3dfc1f40892b78f125c596f9 (patch) | |
tree | 6807f55b790a5849d06923ab9ade6eb64166d2fa /mod | |
parent | e0e3cc7a7235fe129aefb0f9b01f36f2ba8b99d4 (diff) | |
download | volse-hubzilla-afe4cc8bfa01017f3dfc1f40892b78f125c596f9.tar.gz volse-hubzilla-afe4cc8bfa01017f3dfc1f40892b78f125c596f9.tar.bz2 volse-hubzilla-afe4cc8bfa01017f3dfc1f40892b78f125c596f9.zip |
pull request #91 fabrixxm (manual merge)
Diffstat (limited to 'mod')
-rw-r--r-- | mod/dfrn_confirm.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 58473146d..7c28bf902 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -423,9 +423,11 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $arr['author-avatar'] = $arr['owner-avatar'] = $self[0]['thumb']; $arr['verb'] = ACTIVITY_FRIEND; $arr['object-type'] = ACTIVITY_OBJ_PERSON; - $arr['body'] = '[url=' . $self[0]['url'] . ']' . $self[0]['name'] . '[/url] ' . t('is now friends with') - . ' [url=' . $contact['url'] . ']' . $contact['name'] . '[/url]' . "\n\n\n" - . ' [url=' . $contact['url'] . ']' . '[img]' . $contact['thumb'] . '[/img][/url]'; + + $A = '[url=' . $self[0]['url'] . ']' . $self[0]['name'] . '[/url]'; + $B = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]'; + $BPhoto = '[url=' . $contact['url'] . ']' . '[img]' . $contact['thumb'] . '[/img][/url]'; + $arr['body'] = sprintf(t('%1$s is now friends with %2$s'), $A, $B)."\n\n\n".$Bphoto; $arr['object'] = '<object><type>' . ACTIVITY_OBJ_PERSON . '</type><title>' . $contact['name'] . '</title>' . '<id>' . $contact['url'] . '/' . $contact['name'] . '</id>'; |