photo_menu: now the photo_menu does have at all places the same structure
This commit is contained in:
parent
ec89274cd8
commit
5c52736221
6 changed files with 22 additions and 10 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue