diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-08 16:38:07 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-08 16:38:07 -0700 |
commit | 236b5285521cb4dbe207a11c0adb005b2ef05c87 (patch) | |
tree | 2cf71726992a2a11a7f235f8da5f32b7c75ff522 | |
parent | 005baea319585299b8d12eb0b4707f44711c5210 (diff) | |
download | volse-hubzilla-236b5285521cb4dbe207a11c0adb005b2ef05c87.tar.gz volse-hubzilla-236b5285521cb4dbe207a11c0adb005b2ef05c87.tar.bz2 volse-hubzilla-236b5285521cb4dbe207a11c0adb005b2ef05c87.zip |
indicate on connections page if a federated connection from another network is unavailable from the current location
-rw-r--r-- | Zotlabs/Module/Connections.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Connections.php b/Zotlabs/Module/Connections.php index b079ae860..bb223fb01 100644 --- a/Zotlabs/Module/Connections.php +++ b/Zotlabs/Module/Connections.php @@ -243,7 +243,8 @@ class Connections extends \Zotlabs\Web\Controller { ((intval($rr['abook_archived'])) ? t('Archived') : ''), ((intval($rr['abook_hidden'])) ? t('Hidden') : ''), ((intval($rr['abook_ignored'])) ? t('Ignored') : ''), - ((intval($rr['abook_blocked'])) ? t('Blocked') : '') + ((intval($rr['abook_blocked'])) ? t('Blocked') : ''), + ((intval($rr['abook_not_here'])) ? t('Not connected at this location') : '') ); foreach($status as $str) { @@ -261,7 +262,7 @@ class Connections extends \Zotlabs\Web\Controller { 'id' => $rr['abook_id'], 'thumb' => $rr['xchan_photo_m'], 'name' => $rr['xchan_name'], - 'classes' => (intval($rr['abook_archived']) ? 'archived' : ''), + 'classes' => ((intval($rr['abook_archived']) || intval($rr['abook_not_here'])) ? 'archived' : ''), 'link' => z_root() . '/connedit/' . $rr['abook_id'], 'deletelink' => z_root() . '/connedit/' . intval($rr['abook_id']) . '/drop', 'delete' => t('Delete'), |