aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/item.php
blob: 0a32818e9e575c807d5bad227d2b8ab97980b53d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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)),
	'image_alt' => elgg_view('river/elements/controls', array('item' => $item)),
	'class' => 'elgg-river-item',
);

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