diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 10:45:35 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 10:45:35 +0000 |
commit | 8b029f53897100b6e46764781e99de8a26b0f524 (patch) | |
tree | 0a948cc05f8c68b6cea64199d8cbefda88bc4021 /views | |
parent | 4784ee829a5f804a77c6ae8747faf443860a6ed5 (diff) | |
download | elgg-8b029f53897100b6e46764781e99de8a26b0f524.tar.gz elgg-8b029f53897100b6e46764781e99de8a26b0f524.tar.bz2 |
Refs #75
git-svn-id: https://code.elgg.org/elgg/trunk@1051 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/admin/statistics_opt/basic.php | 13 | ||||
-rw-r--r-- | views/default/admin/statistics_opt/online.php | 2 |
2 files changed, 10 insertions, 5 deletions
diff --git a/views/default/admin/statistics_opt/basic.php b/views/default/admin/statistics_opt/basic.php index d0ed44381..8f1a7ba48 100644 --- a/views/default/admin/statistics_opt/basic.php +++ b/views/default/admin/statistics_opt/basic.php @@ -14,17 +14,22 @@ $users_stats = get_number_users(); $users_online = get_number_online(); + + global $CONFIG; + + include_once($CONFIG->path . "version.php"); ?> <div> <h2><?php echo elgg_echo('admin:statistics:label:basic'); ?></h2> <table> + <tr> + <td><b><?php echo elgg_echo('admin:statistics:label:version'); ?> :</b></td> + <td><?php echo elgg_echo('admin:statistics:label:version:release'); ?> - <?php echo $release; ?>, <?php echo elgg_echo('admin:statistics:label:version:version'); ?> - <?php echo $version; ?></td> + </tr> <tr> <td><b><?php echo elgg_echo('admin:statistics:label:numusers'); ?> :</b></td> <td><?php echo $users_stats; ?></td> </tr> - <tr> - <td><b><?php echo elgg_echo('admin:statistics:label:numonline'); ?> :</b></td> - <td><?php echo $users_online; ?></td> - </tr> + </table> </div>
\ No newline at end of file diff --git a/views/default/admin/statistics_opt/online.php b/views/default/admin/statistics_opt/online.php index ab418734a..50a207c03 100644 --- a/views/default/admin/statistics_opt/online.php +++ b/views/default/admin/statistics_opt/online.php @@ -15,6 +15,6 @@ ?> <div> - <h2><?php echo sprintf(elgg_echo('admin:statistics:label:onlineusers'), 10); ?></h2> + <h2><?php echo elgg_echo('admin:statistics:label:onlineusers'); ?></h2> <?php echo $users_online; ?> </div> |