aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-14 16:56:46 -0700
committerfriendica <info@friendica.com>2012-06-14 16:56:46 -0700
commitbe090cc8513504edcfaf368915e45308711f7e7c (patch)
tree4ad5c45d864094552fa9318cb8727a717a2e6069 /mod
parent79e2ae3791ec092f5be4f5b0b635247df2535089 (diff)
downloadvolse-hubzilla-be090cc8513504edcfaf368915e45308711f7e7c.tar.gz
volse-hubzilla-be090cc8513504edcfaf368915e45308711f7e7c.tar.bz2
volse-hubzilla-be090cc8513504edcfaf368915e45308711f7e7c.zip
better handling of dead contacts
Diffstat (limited to 'mod')
-rw-r--r--mod/contacts.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index a3e3f409b..f84a988c8 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -335,6 +335,7 @@ function contacts_content(&$a) {
$tab_tpl = get_markup_template('common_tabs.tpl');
$tab_str = replace_macros($tab_tpl, array('$tabs' => $tabs));
+ $lost_contact = (($contact['archive'] && $contact['term-date'] != '0000-00-00 00:00:00' && $contact['term-date'] < datetime_convert('','','now')) ? t('Communications lost with this contact!') : '');
$o .= replace_macros($tpl,array(
'$header' => t('Contact Editor'),
@@ -359,6 +360,7 @@ function contacts_content(&$a) {
'$poll_interval' => contact_poll_interval($contact['priority'],(! $poll_enabled)),
'$poll_enabled' => $poll_enabled,
'$lastupdtext' => t('Last update:'),
+ '$lost_contact' => $lost_contact,
'$updpub' => t('Update public posts'),
'$last_update' => $last_update,
'$udnow' => t('Update now'),