+ $homepage = ((x($profile,'homepage') == 1) ? t('Homepage:') : False);
+
+ $about = ((x($profile,'about') == 1) ? t('About:') : False);
+
+ if($a->theme['template_engine'] === 'internal') {
+ $location_e = template_escape($location);
+ }
+ else {
+ $location_e = $location;
+ }
+
+ $photo_menu = array(array(t("View Profile"), zrl($profile_link)));
+
+ $entry = array(
+ 'id' => $rr['id'],
+ 'url' => $profile_link,
+ 'itemurl' => $itemurl,
+ 'thumb' => proxy_url($a->get_cached_avatar_image($rr[$photo]), false, PROXY_SIZE_THUMB),
+ 'img_hover' => $rr['name'],
+ 'name' => $rr['name'],
+ 'details' => $details,
+ 'account_type' => ($community ? t('Forum') : ''),
+ 'profile' => $profile,
+ 'location' => $location_e,
+ 'tags' => $rr['pub_keywords'],
+ 'gender' => $gender,
+ 'pdesc' => $pdesc,
+ 'marital' => $marital,
+ 'homepage' => $homepage,
+ 'about' => $about,
+ 'photo_menu' => $photo_menu,
+
+ );