aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-13 19:02:47 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-13 19:02:47 +0000
commit9a1cfe6e30906ac545c7d8e37f8ee7b1e6305707 (patch)
tree54d727590b4971c6cc0b5f6539ae88024c641caf /views
parent62d4bdc89aa740bca195944cc87f5f879356dd5a (diff)
downloadelgg-9a1cfe6e30906ac545c7d8e37f8ee7b1e6305707.tar.gz
elgg-9a1cfe6e30906ac545c7d8e37f8ee7b1e6305707.tar.bz2
- Fixed basic statistics
Marcus Povey git-svn-id: https://code.elgg.org/elgg/trunk@921 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-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>