aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages/en.php10
-rw-r--r--views/default/admin/statistics.php13
2 files changed, 15 insertions, 8 deletions
diff --git a/languages/en.php b/languages/en.php
index 82d378de8..39d144c63 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -236,11 +236,11 @@
'admin:statistics:description' => "This admin panel will allow you to view statistics about your site.",
'admin:statistics:opt:description' => "View statistical information about users and objects on your site.",
'admin:statistics:opt:linktext' => "View statistics...",
- 'admin:statistics:label:basic' => "Basic site statistics",
- 'admin:statistics:label:numentities' => "Entities on site",
- 'admin:statistics:label:numusers' => "Number of users",
- 'admin:statistics:label:numonline' => "Number of users online",
- 'admin:statistics:label:onlineusers' => "Most recent %d users online",
+ 'admin:statistics:label:basic' => "Basic site statistics",
+ 'admin:statistics:label:numentities' => "Entities on site",
+ 'admin:statistics:label:numusers' => "Number of users",
+ 'admin:statistics:label:numonline' => "Number of users online",
+ 'admin:statistics:label:onlineusers' => "%d Most recent users online",
/**
diff --git a/views/default/admin/statistics.php b/views/default/admin/statistics.php
index d8e2bd276..984205c8f 100644
--- a/views/default/admin/statistics.php
+++ b/views/default/admin/statistics.php
@@ -28,7 +28,7 @@
?>
-<div id="basic_site_statistics">
+<div>
<h2><?php echo elgg_echo('admin:statistics:label:basic'); ?></h2>
<table>
<tr>
@@ -39,8 +39,10 @@
<td><b><?php echo elgg_echo('admin:statistics:label:numonline'); ?> :</b></td>
<td><?php echo $users_online; ?></td>
</tr>
- </table>
-
+ </table>
+</div>
+
+<div>
<h2><?php echo elgg_echo('admin:statistics:label:numentities'); ?></h2>
<table>
<?php
@@ -64,5 +66,10 @@ END;
}
?>
</table>
+</div>
+
+<div>
+ <h2><?php echo sprintf(elgg_echo('admin:statistics:label:onlineusers'), 10); ?></h2>
+
</div> \ No newline at end of file