mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 23:04:26 +02:00
Merge remote-tracking branch 'upstream/master'
Conflicts: mod/crepair.php
This commit is contained in:
commit
aed28a24f1
35 changed files with 9339 additions and 8738 deletions
|
@ -504,6 +504,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
|||
$tpl = 'search_item.tpl';
|
||||
|
||||
foreach($items as $item) {
|
||||
|
||||
if($arr_blocked) {
|
||||
$blocked = false;
|
||||
foreach($arr_blocked as $b) {
|
||||
|
@ -648,6 +649,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
|||
$tmp_item = array(
|
||||
'template' => $tpl,
|
||||
'id' => (($preview) ? 'P0' : $item['item_id']),
|
||||
'network' => $item['item_network'],
|
||||
'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
|
||||
'profile_url' => $profile_link,
|
||||
'item_photo_menu' => item_photo_menu($item),
|
||||
|
@ -693,6 +695,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
|||
call_hooks('display_item', $arr);
|
||||
|
||||
$threads[$threadsid]['id'] = $item['item_id'];
|
||||
$threads[$threadsid]['network'] = $item['item_network'];
|
||||
$threads[$threadsid]['items'] = array($arr['output']);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue