summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_block_stats.html.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
committerTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
commit406abd7c4df1ace2cd3e4e17159e8941a2e8c0c4 (patch)
treea324be16021f44f2fd6d55e609f47024e945b1db /modules/gallery/views/admin_block_stats.html.php
Initial import
Diffstat (limited to 'modules/gallery/views/admin_block_stats.html.php')
-rw-r--r--modules/gallery/views/admin_block_stats.html.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_block_stats.html.php b/modules/gallery/views/admin_block_stats.html.php
new file mode 100644
index 0000000..c8c5476
--- /dev/null
+++ b/modules/gallery/views/admin_block_stats.html.php
@@ -0,0 +1,12 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul>
+ <li>
+ <?= t("Version: %version", array("version" => gallery::version_string())) ?>
+ </li>
+ <li>
+ <?= t("Albums: %count", array("count" => $album_count)) ?>
+ </li>
+ <li>
+ <?= t("Photos: %count", array("count" => $photo_count)) ?>
+ </li>
+</ul>