diff options
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); |