aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/online_users/content.php
blob: 6e0cc7abb7408e7b9144b442c84843d27c9a98eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * Online users widget
 */

$count = find_active_users(600, 10, 0, true);
$objects = find_active_users(600, 10);

if ($objects) {
	echo elgg_view_entity_list($objects, array(
		'count' => $count,
		'limit' => 10,
		'pagination' => false,
	));
}