aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-06 22:54:21 -0800
committerfriendica <info@friendica.com>2013-12-06 22:54:21 -0800
commit08bbab9a06e56e2305ec3d48f5507ce3b909d286 (patch)
tree506c53a4e65f12df35901e032ae1ed517dbcab57
parent39536f6b7d7e7484c560b0584d2fb58e9925737d (diff)
downloadvolse-hubzilla-08bbab9a06e56e2305ec3d48f5507ce3b909d286.tar.gz
volse-hubzilla-08bbab9a06e56e2305ec3d48f5507ce3b909d286.tar.bz2
volse-hubzilla-08bbab9a06e56e2305ec3d48f5507ce3b909d286.zip
show a clean url in the hovertip for suggested friends
-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>