aboutsummaryrefslogtreecommitdiffstats
path: root/mod/display.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2010-12-26 08:18:10 +0100
committerroot <root@diekershoff.homeunix.net>2010-12-26 08:18:10 +0100
commit3208d6afcbcf6e74ca5d0ac30be1559327e00bf9 (patch)
treec940d0870729dbeb70845a96f36a6a15926dd9f2 /mod/display.php
parentc6a93d5cec05e9282b2f2d26fdfbc93175ed2b06 (diff)
parent10dda88684331366b10967981e661acf5b229ac6 (diff)
downloadvolse-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/display.php')
-rw-r--r--mod/display.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/display.php b/mod/display.php
index 990d0b431..fd845e608 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -241,7 +241,7 @@ function display_content(&$a) {
$indent .= ' shiny';
- $o .= replace_macros($template,array(
+ $tmp_item = replace_macros($template,array(
'$id' => $item['item_id'],
'$profile_url' => $profile_link,
'$name' => $profile_name,
@@ -264,6 +264,12 @@ function display_content(&$a) {
'$comment' => $comment
));
+ $arr = array('item' => $item, 'output' => $tmp_item);
+ call_hooks('display_item', $arr);
+
+ $o .= $arr['output'];
+
+
}
}
else {