X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdisplay.php;h=cad60d2754ce5990f7040463633c1b8a3e7a8d64;hb=9d6f3aa4dd43af69d490d0fe8d355893a206e73f;hp=990d0b431b06acdda54c0e390840f77989ab5250;hpb=0e39f60c041f8d614f8eb3c12c901b92ac08222f;p=friendica.git diff --git a/mod/display.php b/mod/display.php index 990d0b431b..cad60d2754 100644 --- a/mod/display.php +++ b/mod/display.php @@ -241,8 +241,9 @@ function display_content(&$a) { $indent .= ' shiny'; - $o .= replace_macros($template,array( + $tmp_item = replace_macros($template,array( '$id' => $item['item_id'], + '$title' => t('View $name\'s profile'), '$profile_url' => $profile_link, '$name' => $profile_name, '$sparkle' => $sparkle, @@ -264,6 +265,12 @@ function display_content(&$a) { '$comment' => $comment )); + $arr = array('item' => $item, 'output' => $tmp_item); + call_hooks('display_item', $arr); + + $o .= $arr['output']; + + } } else {