more hooks
This commit is contained in:
parent
3857478955
commit
b211adfb12
3 changed files with 20 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue