]> git.mxchange.org Git - friendica.git/commitdiff
bring back "delete selected items" - but need to pass pagedropping to each item
authorfriendica <info@friendica.com>
Fri, 10 Aug 2012 06:01:37 +0000 (23:01 -0700)
committerfriendica <info@friendica.com>
Fri, 10 Aug 2012 06:01:37 +0000 (23:01 -0700)
include/conversation.php

index 73c3337d520046f83a344a9a36a38df7eb699d8c..3c4ff29082ce22feba9ee96203429f56a5160ca7 100644 (file)
@@ -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;