From 64bd6345827f80b51af06cd66e0c05afb4a3c4f2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 19 Jul 2012 21:03:31 -0700 Subject: [PATCH] add poke to contact photo menu --- include/Contact.php | 3 +++ 1 file changed, 3 insertions(+) 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, -- 2.39.5