diff options
author | friendica <info@friendica.com> | 2013-10-02 21:04:48 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-02 21:04:48 -0700 |
commit | 78a8d176acae142cac9d20315672772eccd6c683 (patch) | |
tree | 4aa6253a7410b097353a5ef47bcd90f88f733212 /include/ItemObject.php | |
parent | 8ce09e84c6282fbc0d5206f10c87baf8a0763a9d (diff) | |
download | volse-hubzilla-78a8d176acae142cac9d20315672772eccd6c683.tar.gz volse-hubzilla-78a8d176acae142cac9d20315672772eccd6c683.tar.bz2 volse-hubzilla-78a8d176acae142cac9d20315672772eccd6c683.zip |
post signatures
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r-- | include/ItemObject.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php index 6c43d4e9e..bf55b484a 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -156,6 +156,12 @@ class Item extends BaseObject { $indent = 'comment'; } + + $verified = (($item['item_flags'] & ITEM_VERIFIED) ? t('Message is verified') : ''); + $unverified = '' ; // (($this->is_wall_to_wall() && (! ($item['item_flags'] & ITEM_VERIFIED))) ? t('Message cannot be verified') : ''); + + + // FIXME - check this permission if($conv->get_profile_owner() == local_user()) { $tagger = array( @@ -210,6 +216,8 @@ class Item extends BaseObject { 'isotime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'c'), 'localtime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'r'), 'lock' => $lock, + 'verified' => $verified, + 'unverified' => $unverified, 'location' => $location, 'indent' => $indent, 'owner_url' => $this->get_owner_url(), |