aboutsummaryrefslogtreecommitdiff
path: root/mod/river/views/default/widgets/river_widget/view.php
blob: 0e9d88a939fef0ee4cc57630eaeb92d63efa6dd6 (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 Marcus Povey
	 * @copyright Curverider Ltd 2008
	 * @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);
?>