aboutsummaryrefslogtreecommitdiff
path: root/mod/river/views/default/widgets/river_widget/view.php
blob: 7ef7ea1e116c97ade1cb6d6594a84c0d8c44f8db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
	/**
	 * View the widget
	 * 
	 * @package ElggRiver
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008-2009
	 * @link http://elgg.com/
	 */

	$owner = page_owner_entity();
	$limit = 8;
	
	if ($vars['entity']->limit)
		$limit = $vars['entity']->limit;
	echo elgg_view_river($owner->guid, $limit);
?>