X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fviewcontacts.php;h=e4ebe3abb2d7e3e4095080ce168d548f225bd7cd;hb=c54a2c1e83822f6e043b449468570d2c9ed3ab3a;hp=8c35be77d89bdf85a6a802c0890ee116e159bcdb;hpb=4ca68c7af05b7b41e1b04936b9080802ca2b7716;p=friendica.git diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 8c35be77d8..e4ebe3abb2 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -1,11 +1,10 @@ profile['uid'], $rr); + $contact_details = Contact::getDetailsByURL($rr['url'], $a->profile['uid'], $rr); $contacts[] = array( 'id' => $rr['id'], 'img_hover' => sprintf( t('Visit %s\'s profile [%s]'), $contact_details['name'], $rr['url']), - 'photo_menu' => contact_photo_menu($rr), + 'photo_menu' => Contact::photoMenu($rr), 'thumb' => proxy_url($contact_details['thumb'], false, PROXY_SIZE_THUMB), 'name' => htmlentities(substr($contact_details['name'],0,20)), 'username' => htmlentities($contact_details['name']), 'details' => $contact_details['location'], 'tags' => $contact_details['keywords'], 'about' => $contact_details['about'], - 'account_type' => account_type($contact_details), + 'account_type' => Contact::getAccountType($contact_details), 'url' => $url, 'sparkle' => '', 'itemurl' => (($contact_details['addr'] != "") ? $contact_details['addr'] : $rr['url']), - 'network' => network_to_name($rr['network'], $rr['url']), + 'network' => ContactSelector::networkToName($rr['network'], $rr['url']), ); }