From: Zvi ben Yaakov (a.k.a rdc) Date: Mon, 25 Jun 2012 11:01:16 +0000 (+0300) Subject: Added App::get_cached_avatar_image usage for displaying "Last users" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=51ef8fb7ff77323382fa750827aa25f4652a1891;p=friendica.git Added App::get_cached_avatar_image usage for displaying "Last users" avatar thumbs in right sidebar --- diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 83079782e8..53048df6cd 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -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;