From 9f5201dcaa4737427da7ec37969556c574e4711f Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 18 Mar 2011 00:30:34 -0700 Subject: edit posting after submission --- mod/network.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod/network.php') diff --git a/mod/network.php b/mod/network.php index abdf59c48..81c85f0ff 100644 --- a/mod/network.php +++ b/mod/network.php @@ -387,6 +387,9 @@ function network_content(&$a, $update = 0) { )); } + $edpost = ''; + if(($item['id'] == $item['parent']) && (intval($item['wall']) == 1)) + $edpost = ''; $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete'))); $photo = $item['photo']; @@ -455,6 +458,7 @@ function network_content(&$a, $update = 0) { '$owner_photo' => $owner_photo, '$owner_name' => $owner_name, '$plink' => get_plink($item), + '$edpost' => $edpost, '$drop' => $drop, '$vote' => $likebuttons, '$like' => $like, -- cgit v1.2.3