aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/users/online.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/users/online.php')
-rw-r--r--views/default/admin/users/online.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/admin/users/online.php b/views/default/admin/users/online.php
new file mode 100644
index 000000000..dbda06066
--- /dev/null
+++ b/views/default/admin/users/online.php
@@ -0,0 +1,13 @@
+<?php
+
+$users_online = get_online_users();
+
+?>
+<div class="elgg-module elgg-module-inline">
+ <div class="elgg-head">
+ <h3><?php echo elgg_echo('admin:statistics:label:onlineusers'); ?></h3>
+ </div>
+ <div class="elgg-body">
+ <?php echo $users_online; ?>
+ </div>
+</div>