diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-12-23 22:29:35 +0100 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-12-23 22:29:35 +0100 |
commit | 84d8fab6f1a049bb502c370c39fc3b44182ef24c (patch) | |
tree | e84d739828b0b0f2f34fc53c6e6d0595febaf27d /include/ItemObject.php | |
parent | 6480e14a910252f550929d3e1d7520a966dfbb09 (diff) | |
download | volse-hubzilla-84d8fab6f1a049bb502c370c39fc3b44182ef24c.tar.gz volse-hubzilla-84d8fab6f1a049bb502c370c39fc3b44182ef24c.tar.bz2 volse-hubzilla-84d8fab6f1a049bb502c370c39fc3b44182ef24c.zip |
Show expire date in post tooltip
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r-- | include/ItemObject.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php index 6088a2c1c..170f013a1 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -217,6 +217,7 @@ 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'), 'editedtime' => (($item['edited'] != $item['created']) ? sprintf( t('last edited: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['edited'], 'r')) : ''), + 'expiretime' => (($item['expires'] > 0) ? sprintf( t('Expires: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['expires'], 'r')):''), 'lock' => $lock, 'verified' => $verified, 'unverified' => $unverified, |