From 9a1cfe6e30906ac545c7d8e37f8ee7b1e6305707 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 13 Jun 2008 19:02:47 +0000 Subject: - Fixed basic statistics Marcus Povey git-svn-id: https://code.elgg.org/elgg/trunk@921 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/statistics_opt/basic.php | 6 ++++-- views/default/admin/statistics_opt/numentities.php | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'views/default/admin/statistics_opt') 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(); ?>

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(); ?>

-- cgit v1.2.3