photo_menu: now the photo_menu does have at all places the same structure

This commit is contained in:
rabuzarus 2016-06-06 16:54:29 +02:00
commit 5c52736221
6 changed files with 22 additions and 10 deletions

View file

@ -61,8 +61,10 @@ function allfriends_content(&$a) {
}
else {
$connlnk = $a->get_baseurl() . '/follow/?url=' . $rr['url'];
$photo_menu = array(array(t("View Profile"), zrl($rr['url'])));
$photo_menu[] = array(t("Connect/Follow"), $connlnk);
$photo_menu = array(
'profile' => array(t("View Profile"), zrl($rr['url'])),
'follow' => array(t("Connect/Follow"), $connlnk)
);
}
$entry = array(