show a clean url in the hovertip for suggested friends
This commit is contained in:
parent
39536f6b7d
commit
08bbab9a06
@ -182,6 +182,7 @@ function suggest_widget() {
|
|||||||
|
|
||||||
$arr[] = array(
|
$arr[] = array(
|
||||||
'url' => chanlink_url($rr['xchan_url']),
|
'url' => chanlink_url($rr['xchan_url']),
|
||||||
|
'profile' => $rr['xchan_url'],
|
||||||
'name' => $rr['xchan_name'],
|
'name' => $rr['xchan_name'],
|
||||||
'photo' => $rr['xchan_photo_m'],
|
'photo' => $rr['xchan_photo_m'],
|
||||||
'ignlnk' => z_root() . '/suggest?ignore=' . $rr['xchan_hash'],
|
'ignlnk' => z_root() . '/suggest?ignore=' . $rr['xchan_hash'],
|
||||||
|
@ -50,6 +50,7 @@ function suggest_content(&$a) {
|
|||||||
|
|
||||||
$arr[] = array(
|
$arr[] = array(
|
||||||
'url' => chanlink_url($rr['xchan_url']),
|
'url' => chanlink_url($rr['xchan_url']),
|
||||||
|
'profile' => $rr['xchan_url'],
|
||||||
'name' => $rr['xchan_name'],
|
'name' => $rr['xchan_name'],
|
||||||
'photo' => $rr['xchan_photo_m'],
|
'photo' => $rr['xchan_photo_m'],
|
||||||
'ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['xchan_hash'],
|
'ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['xchan_hash'],
|
||||||
|
@ -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>
|
<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">
|
<div class="profile-match-photo">
|
||||||
<a href="{{$entry.url}}">
|
<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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="profile-match-break"></div>
|
<div class="profile-match-break"></div>
|
||||||
|
Reference in New Issue
Block a user