aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/contact_widgets.php1
-rw-r--r--mod/suggest.php1
-rwxr-xr-xview/tpl/suggest_friends.tpl2
3 files changed, 3 insertions, 1 deletions
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 @@
<a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="profile-match-ignore" onclick="return confirmDelete();" ><i class="icon-remove drop-icons"></i></a>
<div class="profile-match-photo">
<a href="{{$entry.url}}">
- <img src="{{$entry.photo}}" alt="{{$entry.name}}" width="80" height="80" title="{{$entry.name}} [{{$entry.url}}]" />
+ <img src="{{$entry.photo}}" alt="{{$entry.name}}" width="80" height="80" title="{{$entry.name}} [{{$entry.profile}}]" />
</a>
</div>
<div class="profile-match-break"></div>