bring back "delete selected items" - but need to pass pagedropping to each item
This commit is contained in:
parent
66e8e91646
commit
4894619d7b
|
@ -676,6 +676,9 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
||||||
$page_writeable = false;
|
$page_writeable = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$page_dropping = ((local_user() && local_user() == $profile_owner) ? true : false);
|
||||||
|
|
||||||
|
|
||||||
if($update)
|
if($update)
|
||||||
$return_url = $_SESSION['return_url'];
|
$return_url = $_SESSION['return_url'];
|
||||||
else
|
else
|
||||||
|
@ -851,7 +854,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
||||||
'$mode' => $mode,
|
'$mode' => $mode,
|
||||||
'$user' => $a->user,
|
'$user' => $a->user,
|
||||||
'$threads' => $threads,
|
'$threads' => $threads,
|
||||||
'$dropping' => ($dropping?t('Delete Selected Items'):False),
|
'$dropping' => ($page_dropping?t('Delete Selected Items'):False),
|
||||||
));
|
));
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user