summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-14 10:56:10 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-14 10:56:10 -0700
commitc3f93957d7af6c6058582fcb1acbe5b8374a70ed (patch)
tree2cd51879245b1e48637af57720907ec3a7185d99 /modules/gallery/helpers/gallery_theme.php
parentcc05d279ea9c7317f6393b0336df724dbb4a898f (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/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index 0e3150bc..226b8a42 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -116,8 +116,7 @@ class gallery_theme_Core {
static function credits() {
return "<li class=\"first\">" .
t(module::get_var("gallery", "credits"),
- array("url" => "http://gallery.menalto.com",
- "version" => module::get_var("gallery", "version"))) .
+ array("url" => "http://gallery.menalto.com", "version" => gallery::VERSION)) .
"</li>";
}