diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 23:52:23 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 23:52:23 +0000 |
commit | 3e49786bc6e271867fc57d7725905452ba280842 (patch) | |
tree | 3cefcaa44dfcd38df30836ad47ba13729bac80eb /views/default/river/item.php | |
parent | c194b2ad8b99621c5bd7bf32f68d3c3d2399073c (diff) | |
download | elgg-3e49786bc6e271867fc57d7725905452ba280842.tar.gz elgg-3e49786bc6e271867fc57d7725905452ba280842.tar.bz2 |
somehow we forgot to use 'elements' in river views
git-svn-id: http://code.elgg.org/elgg/trunk@8679 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/item.php')
-rw-r--r-- | views/default/river/item.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/views/default/river/item.php b/views/default/river/item.php index 55e108482..0a32818e9 100644 --- a/views/default/river/item.php +++ b/views/default/river/item.php @@ -1,11 +1,17 @@ <?php +/** + * Layout of a river item + * + * @uses $vars['item'] ElggRiverItem + */ + $item = $vars['item']; $vars = array( - 'image' => elgg_view('river/item/image', array('item' => $item)), - 'body' => elgg_view('river/item/body', array('item' => $item)), - 'image_alt' => elgg_view('river/item/controls', array('item' => $item)), + 'image' => elgg_view('river/elements/image', array('item' => $item)), + 'body' => elgg_view('river/elements/body', array('item' => $item)), + 'image_alt' => elgg_view('river/elements/controls', array('item' => $item)), 'class' => 'elgg-river-item', ); -echo elgg_view('page/components/image_block', $vars);
\ No newline at end of file +echo elgg_view('page/components/image_block', $vars); |