From: friendica Date: Fri, 20 Jul 2012 04:03:31 +0000 (-0700) Subject: add poke to contact photo menu X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64bd6345827f80b51af06cd66e0c05afb4a3c4f2;p=friendica.git add poke to contact photo menu --- diff --git a/include/Contact.php b/include/Contact.php index 14e1a52cdd..ecc271a8e0 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -192,6 +192,7 @@ function contact_photo_menu($contact) { $status_link=""; $photos_link=""; $posts_link=""; + $poke_link=""; $sparkle = false; if($contact['network'] === NETWORK_DFRN) { @@ -211,10 +212,12 @@ function contact_photo_menu($contact) { $pm_url = $a->get_baseurl() . '/message/new/' . $contact['id']; } + $poke_link = $a->get_baseurl() . '/poke/?f=&c=' . $contact['id']; $contact_url = $a->get_baseurl() . '/contacts/' . $contact['id']; $posts_link = $a->get_baseurl() . '/network/?cid=' . $contact['id']; $menu = Array( + t("Poke") => $poke_link, t("View Status") => $status_link, t("View Profile") => $profile_link, t("View Photos") => $photos_link,