From: friendica Date: Fri, 10 Aug 2012 06:01:37 +0000 (-0700) Subject: bring back "delete selected items" - but need to pass pagedropping to each item X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4894619d7b18a5c92649c74a2eae3dbd93eb40c0;p=friendica.git bring back "delete selected items" - but need to pass pagedropping to each item --- diff --git a/include/conversation.php b/include/conversation.php index 73c3337d52..3c4ff29082 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -676,6 +676,9 @@ function conversation(&$a, $items, $mode, $update, $preview = false) { $page_writeable = false; } + $page_dropping = ((local_user() && local_user() == $profile_owner) ? true : false); + + if($update) $return_url = $_SESSION['return_url']; else @@ -851,7 +854,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) { '$mode' => $mode, '$user' => $a->user, '$threads' => $threads, - '$dropping' => ($dropping?t('Delete Selected Items'):False), + '$dropping' => ($page_dropping?t('Delete Selected Items'):False), )); return $o;