From d7a2ab9c1f34b8a20d63b275d308601b7309d9b8 Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 9 Sep 2011 16:22:32 -0700 Subject: send profile visits to 'redir' window --- include/text.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index e3d984a1f..536c998de 100644 --- a/include/text.php +++ b/include/text.php @@ -571,11 +571,13 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) { $url = $contact['url']; $sparkle = ''; + $redir = false; if($redirect) { $a = get_app(); $redirect_url = $a->get_baseurl() . '/redir/' . $contact['id']; if(local_user() && ($contact['uid'] == local_user()) && ($contact['network'] === 'dfrn')) { + $redir = true; $url = $redirect_url; $sparkle = ' sparkle'; } @@ -586,6 +588,7 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) { if($textmode) { return '
'. $contact['name'] . '
' . "\r\n"; @@ -593,6 +596,7 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) { else { return '
' . $contact['name'] 
 			. '
' . "\r\n"; -- cgit v1.2.3