aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-25 12:04:58 -0400
committercash <cash.costello@gmail.com>2011-06-25 12:04:58 -0400
commit1e12760590a763ec2af5988080b6a94b21a17f1a (patch)
tree56d3c007c115cbed20e225369462dae174995b08 /views/default/river
parent8a6aca077a81b6cd654c1944b0a5e2498b1cc655 (diff)
downloadelgg-1e12760590a763ec2af5988080b6a94b21a17f1a.tar.gz
elgg-1e12760590a763ec2af5988080b6a94b21a17f1a.tar.bz2
updates the avatar update river view and closes pull request #48
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/user/default/profileiconupdate.php12
1 files changed, 6 insertions, 6 deletions
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>';