aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/statistics_opt/online.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 22:37:10 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 22:37:10 +0000
commit5582e8070201138cc8ce76a3b900d3f1fbbc3337 (patch)
tree1555462cc44ecbc333b1f78eabd8e2851d201b0b /views/default/admin/statistics_opt/online.php
parentf93f66516b0ef1a2f36af5e5836772e0cce57468 (diff)
downloadelgg-5582e8070201138cc8ce76a3b900d3f1fbbc3337.tar.gz
elgg-5582e8070201138cc8ce76a3b900d3f1fbbc3337.tar.bz2
- Moved statistics to their own component views. Yay.
Marcus Povey git-svn-id: https://code.elgg.org/elgg/trunk@906 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/statistics_opt/online.php')
-rw-r--r--views/default/admin/statistics_opt/online.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/default/admin/statistics_opt/online.php b/views/default/admin/statistics_opt/online.php
new file mode 100644
index 000000000..2a9532470
--- /dev/null
+++ b/views/default/admin/statistics_opt/online.php
@@ -0,0 +1,19 @@
+<?php
+ /**
+ * Elgg statistics screen
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // users online
+ $users_online = get_number_online();
+?>
+
+<div>
+ <h2><?php echo sprintf(elgg_echo('admin:statistics:label:onlineusers'), 10); ?></h2>
+</div> \ No newline at end of file