aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-25 22:51:45 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-25 22:51:45 -0700
commit9f81c3345b40d635a34f0448dd625b17f20508c3 (patch)
tree6f284d707b8d05fd6c16baf6c1a69aea7f8dfcc6 /mod/network.php
parent52a2c7eb46ea3b9509e48f29eca6f1c398a85538 (diff)
downloadvolse-hubzilla-9f81c3345b40d635a34f0448dd625b17f20508c3.tar.gz
volse-hubzilla-9f81c3345b40d635a34f0448dd625b17f20508c3.tar.bz2
volse-hubzilla-9f81c3345b40d635a34f0448dd625b17f20508c3.zip
fixup of some nits with live update and remote comment display on profile page
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php6
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
));
}