Merge pull request #2019 from rabuzarus/0611_directory

simple photo_menu for directory
This commit is contained in:
Tobias Diekershoff 2015-11-07 06:54:16 +01:00
commit 4e7bf0028c

View file

@ -153,6 +153,8 @@ function directory_content(&$a) {
$location_e = $location; $location_e = $location;
} }
$photo_menu = array(array(t("View Profile"), zrl($profile_link)));
$entry = array( $entry = array(
'id' => $rr['id'], 'id' => $rr['id'],
'url' => $profile_link, 'url' => $profile_link,
@ -168,6 +170,7 @@ function directory_content(&$a) {
'marital' => $marital, 'marital' => $marital,
'homepage' => $homepage, 'homepage' => $homepage,
'about' => $about, 'about' => $about,
'photo_menu' => $photo_menu,
); );