diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-30 14:31:20 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-30 14:31:20 +0200 |
commit | 60e0f79b9f9e94b19cc412eac41e5d8f8fec2383 (patch) | |
tree | 6a42698623f3c065851f2266acd9434b4c9776ff /include/conversation.php | |
parent | dfb3ee6e29b6943f86ec75af12db5a1422a7e1dd (diff) | |
parent | 30b7c689292b3a5d06fb9c52a369b53ecb05e57f (diff) | |
download | volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.tar.gz volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.tar.bz2 volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.zip |
Merge remote-tracking branch 'friendika/master'
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 7859d301c..64ad5d0b1 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -220,7 +220,7 @@ function conversation(&$a, $items, $mode, $update) { $body = prepare_body($item,true); - $treads[$treadsid] .= replace_macros($tpl,array( + $tmp_item = replace_macros($tpl,array( '$id' => $item['item_id'], '$linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])), '$profile_url' => $profile_link, @@ -251,6 +251,11 @@ function conversation(&$a, $items, $mode, $update) { '$wait' => t('Please wait'), )); + $arr = array('item' => $item, 'output' => $tmp_item); + call_hooks('display_item', $arr); + + $treads[$treadsid] .= $arr['output']; + } } |