aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>