aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-21 03:48:59 -0700
committerfriendica <info@friendica.com>2012-07-21 03:48:59 -0700
commit6e08f398200de8a1560e14cdb4fb6c278a8e2b94 (patch)
tree9ca6e1e6350ba49b8f3abc130c9551afe7fa436d /include/conversation.php
parentbf386749047731d3a7f47fd99f7dcc4e93ed7be7 (diff)
downloadvolse-hubzilla-6e08f398200de8a1560e14cdb4fb6c278a8e2b94.tar.gz
volse-hubzilla-6e08f398200de8a1560e14cdb4fb6c278a8e2b94.tar.bz2
volse-hubzilla-6e08f398200de8a1560e14cdb4fb6c278a8e2b94.zip
simplify
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 7f3980e70..06b643a05 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -916,6 +916,7 @@ function item_photo_menu($item){
if(! count($a->contacts))
load_contact_links(local_user());
}
+ $poke_link="";
$contact_url="";
$pm_url="";
$status_link="";
@@ -945,6 +946,7 @@ function item_photo_menu($item){
}
}
if(($cid) && (! $item['self'])) {
+ $poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $cid;
$contact_url = $a->get_baseurl($ssl_state) . '/contacts/' . $cid;
$posts_link = $a->get_baseurl($ssl_state) . '/network/?cid=' . $cid;
@@ -967,6 +969,7 @@ function item_photo_menu($item){
t("Network Posts") => $posts_link,
t("Edit Contact") => $contact_url,
t("Send PM") => $pm_url,
+ t("Poke") => $poke_link
);
@@ -978,7 +981,7 @@ function item_photo_menu($item){
$o = "";
foreach($menu as $k=>$v){
- if ($v!="") $o .= "<li><a href='$v'>$k</a></li>\n";
+ if ($v!="") $o .= "<li><a href=\"$v\">$k</a></li>\n";
}
return $o;
}}