aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/Contact.php')
-rw-r--r--include/Contact.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php
index 7524c0cea..45920041e 100644
--- a/include/Contact.php
+++ b/include/Contact.php
@@ -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;
}}