diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-16 09:39:29 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-16 09:39:29 +0200 |
commit | 9d2afc2d3c12f6b70eae11487e491e2d8604ed60 (patch) | |
tree | ced4fb400d25762866a773115b122f6c9cc498de /include/Contact.php | |
parent | 019b735ec75989336826e5ad5db6377803ecb050 (diff) | |
parent | 2e43b291e73f6d7c36a9d8743fc2635dc3444841 (diff) | |
download | volse-hubzilla-9d2afc2d3c12f6b70eae11487e491e2d8604ed60.tar.gz volse-hubzilla-9d2afc2d3c12f6b70eae11487e491e2d8604ed60.tar.bz2 volse-hubzilla-9d2afc2d3c12f6b70eae11487e491e2d8604ed60.zip |
Merge remote-tracking branch 'friendika/master' into newui
Diffstat (limited to 'include/Contact.php')
-rw-r--r-- | include/Contact.php | 7 |
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; }} |