diff options
author | cash <cash.costello@gmail.com> | 2011-10-29 12:33:10 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-29 12:33:10 -0400 |
commit | 82da6bff73a99d18bbe2363c7e30aaf6d3fc949f (patch) | |
tree | bdd9e5bbfc718404223fb2ccbb48fa7ddf38c8ad /views/default/river/user | |
parent | f0c096448105b0f88c03221414ded5fb765fe595 (diff) | |
download | elgg-82da6bff73a99d18bbe2363c7e30aaf6d3fc949f.tar.gz elgg-82da6bff73a99d18bbe2363c7e30aaf6d3fc949f.tar.bz2 |
adds a river layout view that all river views should use
Diffstat (limited to 'views/default/river/user')
-rw-r--r-- | views/default/river/user/default/profileiconupdate.php | 3 | ||||
-rw-r--r-- | views/default/river/user/default/profileupdate.php | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/views/default/river/user/default/profileiconupdate.php b/views/default/river/user/default/profileiconupdate.php index 90daab1a7..160ffd252 100644 --- a/views/default/river/user/default/profileiconupdate.php +++ b/views/default/river/user/default/profileiconupdate.php @@ -3,7 +3,6 @@ * Update avatar river view */ - $subject = $vars['item']->getSubjectEntity(); $subject_link = elgg_view('output/url', array( @@ -15,7 +14,7 @@ $subject_link = elgg_view('output/url', array( $string = elgg_echo('river:update:user:avatar', array($subject_link)); -echo elgg_view('river/item', array( +echo elgg_view('river/elements/layout', array( 'item' => $vars['item'], 'summary' => $string, 'attachments' => elgg_view_entity_icon($subject, 'tiny', array('hover' => false)), diff --git a/views/default/river/user/default/profileupdate.php b/views/default/river/user/default/profileupdate.php index 69b69b106..ce72970d6 100644 --- a/views/default/river/user/default/profileupdate.php +++ b/views/default/river/user/default/profileupdate.php @@ -14,7 +14,7 @@ $subject_link = elgg_view('output/url', array( $string = elgg_echo('river:update:user:profile', array($subject_link)); -echo elgg_view('river/item', array( +echo elgg_view('river/elements/layout', array( 'item' => $vars['item'], 'summary' => $string, )); |