aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/item.php
blob: bf7c80b03070008c529153d0796a1a222ac4c684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Layout of a river item
 *
 * @uses $vars['item'] ElggRiverItem
 */

$item = $vars['item'];

$vars = array(
	'image' => elgg_view('river/elements/image', array('item' => $item)),
	'body' => elgg_view('river/elements/body', array('item' => $item)),
	'class' => 'elgg-river-item',
);

echo elgg_view('page/components/image_block', $vars);