cleanup photo menus
This commit is contained in:
parent
19b636e7e8
commit
640f258f18
|
@ -134,11 +134,11 @@ function contact_photo_menu($contact) {
|
||||||
$posts_link = $a->get_baseurl() . '/network/?cid=' . $contact['id'];
|
$posts_link = $a->get_baseurl() . '/network/?cid=' . $contact['id'];
|
||||||
|
|
||||||
$menu = Array(
|
$menu = Array(
|
||||||
t("View status") => $status_link,
|
t("View Status") => $status_link,
|
||||||
t("View profile") => $profile_link,
|
t("View Profile") => $profile_link,
|
||||||
t("View photos") => $photos_link,
|
t("View Photos") => $photos_link,
|
||||||
t("View recent") => $posts_link,
|
t("Network Posts") => $posts_link,
|
||||||
t("Edit contact") => $contact_url,
|
t("Edit Contact") => $contact_url,
|
||||||
t("Send PM") => $pm_url,
|
t("Send PM") => $pm_url,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ function contact_photo_menu($contact) {
|
||||||
$o = "";
|
$o = "";
|
||||||
foreach($menu as $k=>$v){
|
foreach($menu as $k=>$v){
|
||||||
if ($v!="") {
|
if ($v!="") {
|
||||||
if(($k !== t("View recent")) && ($k !== t("Send PM")))
|
if(($k !== t("Network Posts")) && ($k !== t("Send PM")))
|
||||||
$o .= "<li><a target=\"redir\" href=\"$v\">$k</a></li>\n";
|
$o .= "<li><a target=\"redir\" href=\"$v\">$k</a></li>\n";
|
||||||
else
|
else
|
||||||
$o .= "<li><a href=\"$v\">$k</a></li>\n";
|
$o .= "<li><a href=\"$v\">$k</a></li>\n";
|
||||||
|
|
|
@ -810,11 +810,11 @@ function item_photo_menu($item){
|
||||||
}
|
}
|
||||||
|
|
||||||
$menu = Array(
|
$menu = Array(
|
||||||
t("View status") => $status_link,
|
t("View Status") => $status_link,
|
||||||
t("View profile") => $profile_link,
|
t("View Profile") => $profile_link,
|
||||||
t("View photos") => $photos_link,
|
t("View Photos") => $photos_link,
|
||||||
t("View recent") => $posts_link,
|
t("Network Posts") => $posts_link,
|
||||||
t("Edit contact") => $contact_url,
|
t("Edit Contact") => $contact_url,
|
||||||
t("Send PM") => $pm_url,
|
t("Send PM") => $pm_url,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue