set author/owner on likes
This commit is contained in:
parent
c6cab2cfa8
commit
c6f0d997e6
|
@ -722,6 +722,7 @@ EOT;
|
||||||
|
|
||||||
$arr['uri'] = $uri;
|
$arr['uri'] = $uri;
|
||||||
$arr['uid'] = $importer['uid'];
|
$arr['uid'] = $importer['uid'];
|
||||||
|
$arr['guid'] = $guid;
|
||||||
$arr['contact-id'] = $contact['id'];
|
$arr['contact-id'] = $contact['id'];
|
||||||
$arr['type'] = 'activity';
|
$arr['type'] = 'activity';
|
||||||
$arr['wall'] = $parent_item['wall'];
|
$arr['wall'] = $parent_item['wall'];
|
||||||
|
@ -729,13 +730,13 @@ EOT;
|
||||||
$arr['parent'] = $parent_item['id'];
|
$arr['parent'] = $parent_item['id'];
|
||||||
$arr['parent-uri'] = $parent_item['uri'];
|
$arr['parent-uri'] = $parent_item['uri'];
|
||||||
|
|
||||||
$datarray['owner-name'] = $contact['name'];
|
$arr['owner-name'] = $contact['name'];
|
||||||
$datarray['owner-link'] = $contact['url'];
|
$arr['owner-link'] = $contact['url'];
|
||||||
$datarray['owner-avatar'] = $contact['thumb'];
|
$arr['owner-avatar'] = $contact['thumb'];
|
||||||
|
|
||||||
$datarray['author-name'] = $person['name'];
|
$arr['author-name'] = $person['name'];
|
||||||
$datarray['author-link'] = $person['url'];
|
$arr['author-link'] = $person['url'];
|
||||||
$datarray['author-avatar'] = ((x($person,'thumb')) ? $person['thumb'] : $person['photo']);
|
$arr['author-avatar'] = ((x($person,'thumb')) ? $person['thumb'] : $person['photo']);
|
||||||
|
|
||||||
$ulink = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
|
$ulink = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
|
||||||
$alink = '[url=' . $parent_item['author-link'] . ']' . $parent_item['author-name'] . '[/url]';
|
$alink = '[url=' . $parent_item['author-link'] . ']' . $parent_item['author-name'] . '[/url]';
|
||||||
|
|
Loading…
Reference in a new issue