]> git.mxchange.org Git - friendica-addons.git/commitdiff
Added App::get_cached_avatar_image usage for displaying "Latest users"
authorZvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net>
Mon, 25 Jun 2012 10:42:37 +0000 (13:42 +0300)
committerZvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net>
Mon, 25 Jun 2012 10:42:37 +0000 (13:42 +0300)
avatar thumbs in left sidebar of Community home page.
Requires: FRIENDICA_VERSION 3.0.1380+

communityhome/communityhome.php

index 14c40328e0b3613f5b1db5318503c020e211db5e..2b14fd3381547eaa3da58f715836feb8976a8f4f 100755 (executable)
@@ -55,7 +55,7 @@ function communityhome_home(&$a, &$o){
                        $entry = replace_macros($tpl,array(
                                '$id' => $rr['id'],
                                '$profile-link' => $profile_link,
-                               '$photo' => $rr[$photo],
+                               '$photo' => $a->get_cached_avatar_image($rr[$photo]),
                                '$alt-text' => $rr['name'],
                        ));
                        $aside['$lastusers_items'][] = $entry;