diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-12 21:41:58 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-12 21:41:58 +0000 |
commit | f93f66516b0ef1a2f36af5e5836772e0cce57468 (patch) | |
tree | 0690ba898545210ce93a0540c124b8914cca56bf | |
parent | 6584bc4ec2de3b1c377baf763ef5b0ac1e6c807a (diff) | |
download | elgg-f93f66516b0ef1a2f36af5e5836772e0cce57468.tar.gz elgg-f93f66516b0ef1a2f36af5e5836772e0cce57468.tar.bz2 |
- Some minor statistics committed to test Eclipse
Marcus Povey
git-svn-id: https://code.elgg.org/elgg/trunk@905 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | languages/en.php | 10 | ||||
-rw-r--r-- | views/default/admin/statistics.php | 13 |
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 |