]> git.mxchange.org Git - friendica.git/blobdiff - mod/contacts.php
Show "Redmatrix" as network name.
[friendica.git] / mod / contacts.php
index 6ee9a4a92b23165e2df3a49cfb4583482d14e338..ffb9f1a4614f6730b4af8d6242f25d6479527d34 100644 (file)
@@ -505,7 +505,7 @@ function contacts_content(&$a) {
 
                $poll_enabled = in_array($contact['network'], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_FEED, NETWORK_MAIL, NETWORK_MAIL2));
 
-               $nettype = sprintf( t('Network type: %s'),network_to_name($contact['network']));
+               $nettype = sprintf( t('Network type: %s'),network_to_name($contact['network'], $contact["url"]));
 
                $common = count_common_friends(local_user(),$contact['id']);
                $common_text = (($common) ? sprintf( tt('%d contact in common','%d contacts in common', $common),$common) : '');
@@ -806,7 +806,7 @@ function _contact_detail_for_template($rr){
                'sparkle' => $sparkle,
                'itemurl' => $rr['url'],
                'url' => $url,
-               'network' => network_to_name($rr['network']),
+               'network' => network_to_name($rr['network'], $rr['url']),
        );
-       
-}
\ No newline at end of file
+
+}