summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_block_stats.html.php
diff options
context:
space:
mode:
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 00000000..2d975073
--- /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" => module::get_var("core", "version"))) ?>
+ </li>
+ <li>
+ <?= t("Albums: %count", array("count" => $album_count)) ?>
+ </li>
+ <li>
+ <?= t("Photos: %count", array("count" => $photo_count)) ?>
+ </li>
+</ul>