diff options
author | Friendika <info@friendika.com> | 2011-03-20 19:29:01 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-20 19:29:01 -0700 |
commit | 5f9f03daf781b95b5685a19d450800aad879c0de (patch) | |
tree | 6438d9979854800ef01517f5c5238c8e02524403 /mod | |
parent | b7292bc673bc7983b1fd933070bc9d6a0a155dbb (diff) | |
download | volse-hubzilla-5f9f03daf781b95b5685a19d450800aad879c0de.tar.gz volse-hubzilla-5f9f03daf781b95b5685a19d450800aad879c0de.tar.bz2 volse-hubzilla-5f9f03daf781b95b5685a19d450800aad879c0de.zip |
simplify insecure network warning
Diffstat (limited to 'mod')
-rw-r--r-- | mod/contacts.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/contacts.php b/mod/contacts.php index 029330b7a..c1455ec54 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -244,6 +244,9 @@ function contacts_content(&$a) { $sparkle = ''; } + $insecure = '<div id="profile-edit-insecure"><p><img src="images/unlock_icon.gif" alt="' . t('Privacy Unavailable') . '" /> ' + . t('Private communications are not available for this contact.') . '</p></div>'; + $last_update = (($r[0]['last-update'] == '0000-00-00 00:00:00') ? t('Never') : datetime_convert('UTC',date_default_timezone_get(),$r[0]['last-update'],'D, j M Y, g:i A')); @@ -266,7 +269,7 @@ function contacts_content(&$a) { '$contact_id' => $r[0]['id'], '$block_text' => (($r[0]['blocked']) ? t('Unblock this contact') : t('Block this contact') ), '$ignore_text' => (($r[0]['readonly']) ? t('Unignore this contact') : t('Ignore this contact') ), - '$insecure' => (($r[0]['network'] === 'stat') ? load_view_file('view/insecure_net.tpl') : ''), + '$insecure' => (($r[0]['network'] !== 'dfrn') ? $insecure : ''), '$info' => $r[0]['info'], '$blocked' => (($r[0]['blocked']) ? '<div id="block-message">' . t('Currently blocked') . '</div>' : ''), '$ignored' => (($r[0]['readonly']) ? '<div id="ignore-message">' . t('Currently ignored') . '</div>' : ''), |