issue #400 - lock not showing up for previews of private mentions (or 'new/search' item view)
also reformat the new/search template to pick up recent changes to conv_item.tpl
This commit is contained in:
@@ -635,7 +635,11 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
|
||||
$star = false;
|
||||
$isstarred = "unstarred icon-star-empty";
|
||||
|
||||
$lock = false;
|
||||
$lock = (($item['item_private'] || strlen($item['allow_cid']) || strlen($item['allow_gid']) || strlen($item['deny_cid']) || strlen($item['deny_gid']))
|
||||
? t('Private Message')
|
||||
: false
|
||||
);
|
||||
|
||||
$likebuttons = false;
|
||||
$shareable = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user