aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/overview/online.php
blob: f8b890c91c1fd9a973ff9f39a6924c21da51c372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * Elgg statistics screen
 *
 * @package Elgg
 * @subpackage Core
 */

// users online
if( (is_plugin_enabled('search')) && (is_plugin_enabled('profile')) ) {
	elgg_push_context('search');
	$users_online = get_online_users();
	elgg_pop_context();
	?>

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