if(local_user()) {
require_once('include/contact_widgets.php');
- $a->page['aside'] .= follow_widget();
-
$a->page['aside'] .= findpeople_widget();
+ $a->page['aside'] .= follow_widget();
+
}
else {
unset($_SESSION['theme']);
else {
$location_e = $location;
}
+
+ $photo_menu = array(array(t("View Profile"), zrl($profile_link)));
$entry = array(
'id' => $rr['id'],
- 'profile_link' => $profile_link,
- 'photo' => proxy_url($a->get_cached_avatar_image($rr[$photo]), false, PROXY_SIZE_THUMB),
- 'alt_text' => $rr['name'],
+ 'url' => $profile_link,
+ 'thumb' => proxy_url($a->get_cached_avatar_image($rr[$photo]), false, PROXY_SIZE_THUMB),
+ 'img_hover' => $rr['name'],
'name' => $rr['name'],
'details' => $pdesc . $details,
'page_type' => $page_type,
'marital' => $marital,
'homepage' => $homepage,
'about' => $about,
+ 'photo_menu' => $photo_menu,
);
'$globaldir' => t('Global Directory'),
'$gdirpath' => $gdirpath,
'$desc' => t('Find on this site'),
- '$entries' => $entries,
+ '$contacts' => $entries,
'$finding' => t('Finding:'),
'$findterm' => (strlen($search) ? $search : ""),
'$title' => t('Site Directory'),
- '$submit' => t('Find')
+ '$submit' => t('Find'),
+ '$paginate' => paginate($a),
));
- $o .= paginate($a);
-
}
else
info( t("No entries \x28some entries may be hidden\x29.") . EOL);