bring back "delete selected items" - but need to pass pagedropping to each item
This commit is contained in:
parent
66e8e91646
commit
4894619d7b
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue