aboutsummaryrefslogtreecommitdiff
path: root/mod/river/views/default/widgets/river_widget/view.php
blob: 27aeb78061d2105d4b66d18cadcc9a63dc3f7b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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;
?>
<h1><?php echo sprintf(elgg_echo('river:widget:title'), $owner->name . "'s") ?></h1>
<?php
	echo elgg_view_river($owner->guid, $limit);
?>