summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-20 10:54:29 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-20 10:54:29 +0000
commit406830cbf8e99919d0d1845e0440c2063cceb301 (patch)
tree2118debd60fbb847916e2ebb3ec64056bc5fbb7a /core/views
parent64f993db6f70554d5dd0e3fe2db672abc4e971de (diff)
use some real stats
Diffstat (limited to 'core/views')
-rw-r--r--core/views/admin_block_stats.html.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/views/admin_block_stats.html.php b/core/views/admin_block_stats.html.php
index af427323..2b38c060 100644
--- a/core/views/admin_block_stats.html.php
+++ b/core/views/admin_block_stats.html.php
@@ -1,5 +1,12 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<ul>
- <li>Version: 3.0</li>
- <li>Your gallery has 34 albums containing 603 photos with 26 comments.</li>
+ <li>
+ <? printf(_("Version: %s"), "3.0") ?>
+ </li>
+ <li>
+ <? printf(_("Albums: %d"), $album_count) ?>
+ </li>
+ <li>
+ <? printf(_("Photos: %d"), $photo_count) ?>
+ </li>
</ul>