aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/dashboard.php
blob: b049348f1d8b17f8d04f75d79628eb6ef1c69d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Elgg river for dashboard.
 *
 * @package Elgg
 * @author Curverider Ltd
 * @link http://elgg.com/
 */

/// Extract the river
$river = $vars['river'];
?>
<div id="river">
<?php
if (($river) && (count($river)>0)) {
	foreach ($river as $r) {
		echo $r;
	}
} else {
	echo elgg_echo('river:widget:noactivity');
}
?>
</div>