]> git.mxchange.org Git - friendica.git/commitdiff
simple photo_menu for directory
authorrabuzarus <>
Fri, 6 Nov 2015 23:08:35 +0000 (00:08 +0100)
committerrabuzarus <>
Fri, 6 Nov 2015 23:08:35 +0000 (00:08 +0100)
mod/directory.php

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