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/profile.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mod/profile.php') diff --git a/mod/profile.php b/mod/profile.php index c0989bd28..1053e4a1e 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -348,6 +348,12 @@ function profile_content(&$a, $update = 0) { else $sparkle = ''; + + $edpost = ''; + if((local_user()) && ($a->profile['profile_uid'] == local_user()) && ($item['id'] == $item['parent']) && (intval($item['wall']) == 1)) + $edpost = ''; + + // We would prefer to use our own avatar link for this item because the one in the author-avatar might reference a // remote site (which could be down). We will use author-avatar if we haven't got something stored locally. // We use this same logic block in mod/network.php to determine it this is a third party post and we don't have any @@ -400,6 +406,7 @@ function profile_content(&$a, $update = 0) { '$location' => $location, '$indent' => $indent, '$plink' => get_plink($item), + '$edpost' => $edpost, '$drop' => $drop, '$like' => $like, '$vote' => $likebuttons, -- cgit v1.2.3