aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 10:45:35 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 10:45:35 +0000
commit8b029f53897100b6e46764781e99de8a26b0f524 (patch)
tree0a948cc05f8c68b6cea64199d8cbefda88bc4021 /views
parent4784ee829a5f804a77c6ae8747faf443860a6ed5 (diff)
downloadelgg-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.php13
-rw-r--r--views/default/admin/statistics_opt/online.php2
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>