aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/users/online.php
blob: 9c0f52c7f440389fd3488a0d9d58ee6e532704eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
// users online
if ((is_plugin_enabled('search')) && (is_plugin_enabled('profile'))) {
	elgg_push_context('search');
	$users_online = get_online_users();
	elgg_pop_context();
	
	echo elgg_view_title(elgg_echo('admin:users'));
	?>

	<div class="admin_settings members-list users_online">
		<h3><?php echo elgg_echo('admin:statistics:label:onlineusers'); ?></h3>
		<?php echo $users_online; ?>
	</div>
<?php
}