]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
actually read Evan's comment on pull request #48 and fixed previous
authorcash <cash.costello@gmail.com>
Sat, 25 Jun 2011 16:10:33 +0000 (12:10 -0400)
committercash <cash.costello@gmail.com>
Sat, 25 Jun 2011 16:10:33 +0000 (12:10 -0400)
languages/en.php
views/default/river/user/default/profileiconupdate.php

index eaf7f908443156232407dd444d282949a9cadffc..50cd08ac95fd724c6e05ec28448b82b7172fc381 100644 (file)
@@ -404,7 +404,7 @@ $english = array(
  */
        'river' => "River",
        'river:friend:user:default' => "%s is now a friend with %s",
-       'river:update:user:default' => '%s has a new avatar',
+       'river:update:user:avatar' => '%s has a new avatar',
        'river:noaccess' => 'You do not have permission to view this item.',
        'river:posted:generic' => '%s posted',
        'riveritem:single:user' => 'a user',
index 3237d7aade42ec0067c45583b887de555f7ac27f..c7f691533b5e418c23815a023f58b4df4b5d61ea 100644 (file)
@@ -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'),
 ));
-