diff options
author | friendica <info@friendica.com> | 2014-04-09 21:11:49 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-04-09 21:11:49 -0700 |
commit | 795d74171358abe23cc4be01dac0e48d04ee46b4 (patch) | |
tree | 510711393c7f0a45152f3a111782b2c8a927ae9e /include | |
parent | 46ed2570b80d7468dc6e875ccb02f533f9cbd139 (diff) | |
download | volse-hubzilla-795d74171358abe23cc4be01dac0e48d04ee46b4.tar.gz volse-hubzilla-795d74171358abe23cc4be01dac0e48d04ee46b4.tar.bz2 volse-hubzilla-795d74171358abe23cc4be01dac0e48d04ee46b4.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 8803e74e7..d56e468ad 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -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; |