- 'details' => $contact_details['location'],
- 'tags' => $contact_details['keywords'],
- 'about' => $contact_details['about'],
- 'account_type' => (($contact_details['community']) ? t('Forum') : ''),
- 'thumb' => proxy_url($jj->photo, false, PROXY_SIZE_THUMB),
- 'inttxt' => ' ' . t('is interested in:'),
- 'conntxt' => t('Connect'),
+ 'details' => defaults($contact_details, 'location', ''),
+ 'tags' => defaults($contact_details, 'keywords', ''),
+ 'about' => defaults($contact_details, 'about', ''),
+ 'account_type' => Contact::getAccountType($contact_details),
+ 'thumb' => ProxyUtils::proxifyUrl($jj->photo, false, ProxyUtils::SIZE_THUMB),
+ 'inttxt' => ' ' . L10n::t('is interested in:'),
+ 'conntxt' => L10n::t('Connect'),