diff options
author | pafcu <pafcu@iki.fi> | 2014-10-21 00:02:08 +0300 |
---|---|---|
committer | pafcu <pafcu@iki.fi> | 2014-10-21 00:02:08 +0300 |
commit | 6fbd77069b8792b48cfbd45bd476b8acb5f98ed6 (patch) | |
tree | 7f1303769398dc0862a2941e64e7a42e4e39d10d /include/conversation.php | |
parent | 6ee514579f85927e60fa5ebd2b89f97cbfe6544d (diff) | |
parent | c080c420ba4e9f216708b63fdddb5c03bbea72c9 (diff) | |
download | volse-hubzilla-6fbd77069b8792b48cfbd45bd476b8acb5f98ed6.tar.gz volse-hubzilla-6fbd77069b8792b48cfbd45bd476b8acb5f98ed6.tar.bz2 volse-hubzilla-6fbd77069b8792b48cfbd45bd476b8acb5f98ed6.zip |
Merge pull request #2 from friendica/master
Sync with upstream
Diffstat (limited to 'include/conversation.php')
-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 92ba18d13..b22b570a1 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -649,7 +649,10 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $ $likebuttons = false; $shareable = false; - $verified = (($item['item_flags'] & ITEM_VERIFIED) ? t('Message is verified') : ''); + $verified = (($item['item_flags'] & ITEM_VERIFIED) ? t('Message signature validated') : ''); + $forged = ((($item['sig']) && (! ($item['item_flags'] & ITEM_VERIFIED))) ? t('Message signature incorrect') : ''); + + $unverified = ''; @@ -682,6 +685,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $ 'mentions' => $mentions, 'verified' => $verified, 'unverified' => $unverified, + 'forged' => $forged, 'txt_cats' => t('Categories:'), 'txt_folders' => t('Filed under:'), 'has_cats' => ((count($categories)) ? 'true' : ''), |