diff options
author | root <root@diekershoff.homeunix.net> | 2010-12-26 08:18:10 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2010-12-26 08:18:10 +0100 |
commit | 3208d6afcbcf6e74ca5d0ac30be1559327e00bf9 (patch) | |
tree | c940d0870729dbeb70845a96f36a6a15926dd9f2 /mod/network.php | |
parent | c6a93d5cec05e9282b2f2d26fdfbc93175ed2b06 (diff) | |
parent | 10dda88684331366b10967981e661acf5b229ac6 (diff) | |
download | volse-hubzilla-3208d6afcbcf6e74ca5d0ac30be1559327e00bf9.tar.gz volse-hubzilla-3208d6afcbcf6e74ca5d0ac30be1559327e00bf9.tar.bz2 volse-hubzilla-3208d6afcbcf6e74ca5d0ac30be1559327e00bf9.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index 43c55b8e3..ad6db2d1e 100644 --- a/mod/network.php +++ b/mod/network.php @@ -284,7 +284,7 @@ function network_content(&$a, $update = 0) { // Build the HTML - $o .= replace_macros($template,array( + $tmp_item = replace_macros($template,array( '$id' => $item['item_id'], '$profile_url' => $profile_link, '$name' => $profile_name, @@ -306,6 +306,12 @@ function network_content(&$a, $update = 0) { '$dislike' => $dislike, '$comment' => $comment )); + + $arr = array('item' => $item, 'output' => $tmp_item); + call_hooks('display_item', $arr); + + $o .= $arr['output']; + } } |