Files
gallery3/modules/gallery/views/admin_block_stats.html.php
Bharat Mediratta ac44e9c930 First step in setting up version checking.
We now have two types of packages (release, git).  Instead of using
constants, we now have gallery::version_string() which returns the
current version string.  If you're on a release package, then the
version string looks like:

  3.0 (Santa Fe)

If you're on a git package, then the version string looks like this:

  3.0.1 (branch 3.0.x build 3)

We track the build number in a new file in the gallery3 root called
BUILD_NUMBER which we will update periodically with the latest
build number for each branch.
2011-01-16 16:58:58 -08:00

13 lines
326 B
PHP

<?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>