aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/admin/statistics_opt/basic.php6
-rw-r--r--views/default/admin/statistics_opt/numentities.php5
2 files changed, 7 insertions, 4 deletions
diff --git a/views/default/admin/statistics_opt/basic.php b/views/default/admin/statistics_opt/basic.php
index e2d58827b..d0ed44381 100644
--- a/views/default/admin/statistics_opt/basic.php
+++ b/views/default/admin/statistics_opt/basic.php
@@ -10,8 +10,10 @@
* @link http://elgg.org/
*/
- // Get entity statistics
- $entity_stats = get_entity_statistics();
+ // Work out number of users
+ $users_stats = get_number_users();
+
+ $users_online = get_number_online();
?>
<div>
<h2><?php echo elgg_echo('admin:statistics:label:basic'); ?></h2>
diff --git a/views/default/admin/statistics_opt/numentities.php b/views/default/admin/statistics_opt/numentities.php
index c50949809..0c7b39fb8 100644
--- a/views/default/admin/statistics_opt/numentities.php
+++ b/views/default/admin/statistics_opt/numentities.php
@@ -10,8 +10,9 @@
* @link http://elgg.org/
*/
- // Work out number of users
- $users_stats = get_number_users();
+
+ // Get entity statistics
+ $entity_stats = get_entity_statistics();
?>
<div>
<h2><?php echo elgg_echo('admin:statistics:label:numentities'); ?></h2>