]> git.mxchange.org Git - friendica.git/commitdiff
diaspora confirm cleanup
authorFriendika <info@friendika.com>
Tue, 16 Aug 2011 02:31:45 +0000 (19:31 -0700)
committerFriendika <info@friendika.com>
Tue, 16 Aug 2011 02:31:45 +0000 (19:31 -0700)
mod/contacts.php
mod/notifications.php

index f64709ab6c73d4b3c7131cc64aac47761c4fa2a6..f130b74c04a5cad21f34255746787600cfe04e09 100644 (file)
@@ -319,7 +319,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'] !== NETWORK_DFRN && $r[0]['network'] !== NETWORK_MAIL && $r[0]['network'] !== NETWORK_FACEBOOK) ? $insecure : ''),
+                       '$insecure' => (($r[0]['network'] !== NETWORK_DFRN && $r[0]['network'] !== NETWORK_MAIL && $r[0]['network'] !== NETWORK_FACEBOOK && $r[0]['network'] !== NETWORK_DIASPORA) ? $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>' : ''),
index 07403d4b4d485b70d45363ef5da6e650c08fca5c..8c32ee8628bbe5250a9dd163e6cb4d09c2f245d3 100644 (file)
@@ -129,9 +129,11 @@ function notifications_content(&$a) {
                        $knowyou   = '';
                        $dfrn_text = '';
                                                
-                       if($rr['network'] === NETWORK_DFRN) {
-                               $knowyou = t('Claims to be known to you: ') . (($rr['knowyou']) ? t('yes') : t('no'));
-
+                       if($rr['network'] === NETWORK_DFRN || $rr['network'] === NETWORK_DIASPORA) {
+                               if($rr['network'] === NETWORK_DFRN)
+                                       $knowyou = t('Claims to be known to you: ') . (($rr['knowyou']) ? t('yes') : t('no'));
+                               else
+                                       $knowyou = '';
                                $dfrn_text = replace_macros($dfrn_tpl,array(
                                        '$intro_id' => $rr['intro_id'],
                                        '$friend_selected' => $friend_selected,