From 08bbab9a06e56e2305ec3d48f5507ce3b909d286 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 6 Dec 2013 22:54:21 -0800 Subject: [PATCH] show a clean url in the hovertip for suggested friends --- include/contact_widgets.php | 1 + mod/suggest.php | 1 + view/tpl/suggest_friends.tpl | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 6d90abb01..ddc89346a 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -182,6 +182,7 @@ function suggest_widget() { $arr[] = array( 'url' => chanlink_url($rr['xchan_url']), + 'profile' => $rr['xchan_url'], 'name' => $rr['xchan_name'], 'photo' => $rr['xchan_photo_m'], 'ignlnk' => z_root() . '/suggest?ignore=' . $rr['xchan_hash'], diff --git a/mod/suggest.php b/mod/suggest.php index f891ebefc..bfa471fa5 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -50,6 +50,7 @@ function suggest_content(&$a) { $arr[] = array( 'url' => chanlink_url($rr['xchan_url']), + 'profile' => $rr['xchan_url'], 'name' => $rr['xchan_name'], 'photo' => $rr['xchan_photo_m'], 'ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['xchan_hash'], diff --git a/view/tpl/suggest_friends.tpl b/view/tpl/suggest_friends.tpl index baece361a..0388504d2 100755 --- a/view/tpl/suggest_friends.tpl +++ b/view/tpl/suggest_friends.tpl @@ -2,7 +2,7 @@
- {{$entry.name}} + {{$entry.name}}