forked from friendica/friendica-addons
Merge pull request #63 from rdc/master
Added App::get_cached_avatar_image usage for displaying "Latest users" avatar thumbs in left sidebar of Community home page.
This commit is contained in:
commit
640e74dff8
|
@ -55,7 +55,7 @@ function communityhome_home(&$a, &$o){
|
||||||
$entry = replace_macros($tpl,array(
|
$entry = replace_macros($tpl,array(
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$profile-link' => $profile_link,
|
'$profile-link' => $profile_link,
|
||||||
'$photo' => $rr[$photo],
|
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
|
||||||
'$alt-text' => $rr['name'],
|
'$alt-text' => $rr['name'],
|
||||||
));
|
));
|
||||||
$aside['$lastusers_items'][] = $entry;
|
$aside['$lastusers_items'][] = $entry;
|
||||||
|
|
Loading…
Reference in a new issue