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:
friendica
2014-04-09 21:11:49 -07:00
parent 46ed2570b8
commit 795d741713
2 changed files with 10 additions and 9 deletions

View File

@@ -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;