diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-07-14 10:56:10 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-14 10:56:10 -0700 |
| commit | c3f93957d7af6c6058582fcb1acbe5b8374a70ed (patch) | |
| tree | 2cd51879245b1e48637af57720907ec3a7185d99 /modules/gallery/views | |
| parent | cc05d279ea9c7317f6393b0336df724dbb4a898f (diff) | |
Move the gallery version out of a module variable and into a constant
in the gallery helper. This will let us bump the version without
having to bump the gallery module number.
Diffstat (limited to 'modules/gallery/views')
| -rw-r--r-- | modules/gallery/views/admin_block_stats.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/admin_block_stats.html.php b/modules/gallery/views/admin_block_stats.html.php index 395ed71d..1dec8ccd 100644 --- a/modules/gallery/views/admin_block_stats.html.php +++ b/modules/gallery/views/admin_block_stats.html.php @@ -1,7 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <ul> <li> - <?= t("Version: %version", array("version" => module::get_var("gallery", "version"))) ?> + <?= t("Version: %version", array("version" => gallery::VERSION)) ?> </li> <li> <?= t("Albums: %count", array("count" => $album_count)) ?> |
