]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
add owner's birthday information to feed (if allowed to)
[friendica.git] / mod / display.php
index 990d0b431b06acdda54c0e390840f77989ab5250..cad60d2754ce5990f7040463633c1b8a3e7a8d64 100644 (file)
@@ -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 {