mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
The contact template now displays the address if available
This commit is contained in:
parent
2e81d0a2b3
commit
0f41f35041
13 changed files with 164 additions and 18 deletions
|
@ -70,7 +70,7 @@ function common_content(&$a) {
|
|||
|
||||
|
||||
if($cid == 0 && $zcid == 0)
|
||||
return;
|
||||
return;
|
||||
|
||||
|
||||
if($cid)
|
||||
|
@ -112,7 +112,7 @@ function common_content(&$a) {
|
|||
|
||||
$entry = array(
|
||||
'url' => $rr['url'],
|
||||
'itemurl' => $rr['url'],
|
||||
'itemurl' => (($contact_details['addr'] != "") ? $contact_details['addr'] : $rr['url']),
|
||||
'name' => $rr['name'],
|
||||
'thumb' => proxy_url($rr['photo'], false, PROXY_SIZE_THUMB),
|
||||
'img_hover' => htmlentities($rr['name']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue