From 5df3bcf4151d6731c32d71f758d7922d0c1c4932 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 25 Jun 2011 12:10:33 -0400 Subject: actually read Evan's comment on pull request #48 and fixed previous --- views/default/river/user/default/profileiconupdate.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'views/default/river/user') diff --git a/views/default/river/user/default/profileiconupdate.php b/views/default/river/user/default/profileiconupdate.php index 3237d7aad..c7f691533 100644 --- a/views/default/river/user/default/profileiconupdate.php +++ b/views/default/river/user/default/profileiconupdate.php @@ -6,8 +6,16 @@ $subject = $vars['item']->getSubjectEntity(); +$subject_link = elgg_view('output/url', array( + 'href' => $subject->getURL(), + 'text' => $subject->name, + 'class' => 'elgg-river-subject', +)); + +$string = elgg_echo('river:update:user:avatar', array($subject_link)); + echo elgg_view('river/item', array( 'item' => $vars['item'], + 'summary' => $string, 'attachments' => elgg_view_entity_icon($subject, 'tiny'), )); - -- cgit v1.2.3