if(! count($a->contacts))
load_contact_links(local_user());
}
+ $poke_link="";
$contact_url="";
$pm_url="";
$status_link="";
}
}
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;
t("Network Posts") => $posts_link,
t("Edit Contact") => $contact_url,
t("Send PM") => $pm_url,
+ t("Poke") => $poke_link
);
$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;
}}
$shortlist = array();
foreach($verbs as $k => $v)
- $shortlist[] = array($k,$v[1]);
+ if($v[1] !== 'NOTRANSLATION')
+ $shortlist[] = array($k,$v[1]);
$tpl = get_markup_template('poke_content.tpl');