diff options
author | cash <cash.costello@gmail.com> | 2011-06-25 12:04:58 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-06-25 12:04:58 -0400 |
commit | 1e12760590a763ec2af5988080b6a94b21a17f1a (patch) | |
tree | 56d3c007c115cbed20e225369462dae174995b08 | |
parent | 8a6aca077a81b6cd654c1944b0a5e2498b1cc655 (diff) | |
download | elgg-1e12760590a763ec2af5988080b6a94b21a17f1a.tar.gz elgg-1e12760590a763ec2af5988080b6a94b21a17f1a.tar.bz2 |
updates the avatar update river view and closes pull request #48
-rw-r--r-- | languages/en.php | 2 | ||||
-rw-r--r-- | views/default/river/user/default/profileiconupdate.php | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/languages/en.php b/languages/en.php index e7806be27..eaf7f9084 100644 --- a/languages/en.php +++ b/languages/en.php @@ -404,7 +404,7 @@ $english = array( */ 'river' => "River", 'river:friend:user:default' => "%s is now a friend with %s", - 'profile:river:iconupdate' => 'updated their profile icon', + 'river:update:user:default' => '%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', diff --git a/views/default/river/user/default/profileiconupdate.php b/views/default/river/user/default/profileiconupdate.php index a723c5335..3237d7aad 100644 --- a/views/default/river/user/default/profileiconupdate.php +++ b/views/default/river/user/default/profileiconupdate.php @@ -2,12 +2,12 @@ /** * Update avatar river view */ -$subject = $vars['item']->getSubjectEntity(); -$subject_icon = elgg_view_entity_icon($subject, 'tiny'); -echo elgg_echo("profile:river:iconupdate"); +$subject = $vars['item']->getSubjectEntity(); + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'attachments' => elgg_view_entity_icon($subject, 'tiny'), +)); -echo '<div class="elgg-river-content clearfix">'; -echo $subject_icon; -echo '</div>'; |