contact_template is called from multiple places with different params
This commit is contained in:
parent
9016b5c67a
commit
92f94a0fdc
@ -594,7 +594,7 @@ function connections_content(&$a) {
|
||||
'name' => $rr['xchan_name'],
|
||||
'username' => $rr['xchan_name'],
|
||||
'sparkle' => $sparkle,
|
||||
'edit' => z_root() . '/connections/' . $rr['abook_id'],
|
||||
'link' => z_root() . '/connections/' . $rr['abook_id'],
|
||||
'url' => $rr['xchan_url'],
|
||||
'network' => network_to_name($rr['network']),
|
||||
);
|
||||
|
@ -48,7 +48,7 @@ function nogroup_content(&$a) {
|
||||
'username' => $rr['name'],
|
||||
'sparkle' => $sparkle,
|
||||
'itemurl' => $rr['url'],
|
||||
'url' => $url,
|
||||
'link' => $url,
|
||||
'network' => network_to_name($rr['network']),
|
||||
);
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ function viewconnections_content(&$a) {
|
||||
'thumb' => $rr['xchan_photo_m'],
|
||||
'name' => substr($rr['xchan_name'],0,20),
|
||||
'username' => $rr['xchan_addr'],
|
||||
'url' => $url,
|
||||
'link' => $url,
|
||||
'sparkle' => '',
|
||||
'itemurl' => $rr['url'],
|
||||
'network' => '',
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
|
||||
<div class="contact-entry-photo-wrapper" >
|
||||
<a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" alt="$contact.name" /></a>
|
||||
<a href="$contact.link" title="$contact.img_hover" /><img src="$contact.thumb" alt="$contact.name" /></a>
|
||||
</div>
|
||||
<div class="contact-entry-photo-end" ></div>
|
||||
<div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
|
||||
<div class="contact-entry-photo-wrapper" >
|
||||
<a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" alt="{{$contact.name}}" /></a>
|
||||
<a href="{{$contact.link}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" alt="{{$contact.name}}" /></a>
|
||||
</div>
|
||||
<div class="contact-entry-photo-end" ></div>
|
||||
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div>
|
||||
|
Reference in New Issue
Block a user