aboutsummaryrefslogtreecommitdiff
path: root/mod/river/views/default/widgets/river_widget/view.php
blob: 1bc9c4cfd6238f39f7470ff21ef99d6aa566d532 (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
	 * @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);
?>