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
|
@ -67,8 +67,10 @@ function match_content(&$a) {
|
|||
if (!count($match)) {
|
||||
$jj->photo = str_replace("http:///photo/", get_server()."/photo/", $jj->photo);
|
||||
$connlnk = $a->get_baseurl() . '/follow/?url=' . $jj->url;
|
||||
$photo_menu = array(array(t("View Profile"), zrl($jj->url)));
|
||||
$photo_menu[] = array(t("Connect/Follow"), $connlnk);
|
||||
$photo_menu = array(
|
||||
'profile' => array(t("View Profile"), zrl($jj->url)),
|
||||
'follow' => array(t("Connect/Follow"), $connlnk)
|
||||
);
|
||||
|
||||
$contact_details = get_contact_details_by_url($jj->url, local_user());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue