aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/statistics_opt/online.php
blob: 7b82ae0852a821d8272c91a6be0e05642ffe0953 (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

	 * @author Curverider Ltd

	 * @link http://elgg.org/
	 */

	// users online
	get_context('search');
	$users_online = get_online_users();
	get_context('admin');
?>

<div class="admin_users_online">
    <h3><?php echo elgg_echo('admin:statistics:label:onlineusers'); ?></h3>
    <?php echo $users_online; ?>
</div>