send profile visits to 'redir' window

This commit is contained in:
Friendika 2011-09-09 16:22:32 -07:00
parent f5c9de19d5
commit d7a2ab9c1f
6 changed files with 19 additions and 10 deletions

View file

@ -133,7 +133,12 @@ function contact_photo_menu($contact) {
$o = "";
foreach($menu as $k=>$v){
if ($v!="") $o .= "<li><a href='$v'>$k</a></li>\n";
if ($v!="") {
if(($k !== t("View recent")) && ($k !== t("Send PM")))
$o .= "<li><a target=\"redir\" href=\"$v\">$k</a></li>\n";
else
$o .= "<li><a href=\"$v\">$k</a></li>\n";
}
}
return $o;
}}