]> git.mxchange.org Git - friendica.git/commitdiff
Added App::get_cached_avatar_image usage for displaying "Last users"
authorZvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net>
Mon, 25 Jun 2012 11:01:16 +0000 (14:01 +0300)
committerZvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net>
Mon, 25 Jun 2012 11:01:16 +0000 (14:01 +0300)
avatar thumbs in right sidebar

view/theme/diabook/theme.php

index 83079782e87676a2aa4f5dec69d88e6a2d780128..53048df6cd19e7f5e83bb874f61343396c1793f0 100755 (executable)
@@ -528,7 +528,7 @@ if ($color=="dark") $color_path = "/diabook-dark/";
                        $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;