open contact edit in same window

This commit is contained in:
friendica 2012-04-15 06:34:01 -07:00
parent c4e8ef330e
commit f994f9abc6
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,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("Network Posts")) && ($k !== t("Send PM"))) if(($k !== t("Network Posts")) && ($k !== t("Send PM")) && ($k !== t('Edit Contact')))
$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";