diff options
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php index 262ecc20b..a91760f7f 100644 --- a/mod/network.php +++ b/mod/network.php @@ -166,6 +166,7 @@ function network_content(&$a, $update = false) { if($item['last-child']) { $comment = replace_macros($cmnt_tpl,array( '$return_path' => $_SESSION['return_url'], + '$type' => 'net-comment', '$id' => $item['item_id'], '$parent' => $item['parent'], '$profile_uid' => $_SESSION['uid'], @@ -173,6 +174,10 @@ function network_content(&$a, $update = false) { )); } + + $drop = replace_macros(file_get_contents('view/wall_item_drop.tpl'), array('$id' => $item['id'])); + + if(($item['contact-uid'] == $_SESSION['uid']) && (strlen($item['dfrn-id'])) && (! $item['self'] )) $profile_url = $redirect_url; @@ -209,6 +214,7 @@ function network_content(&$a, $update = false) { '$owner_url' => $owner_url, '$owner_photo' => $owner_photo, '$owner_name' => $owner_name, + '$drop' => $drop, '$comment' => $comment )); } |