summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-29 20:24:42 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-29 20:24:42 -0700
commit60d1bbc2d68f86b7ed4632cab03f61ee458d0751 (patch)
tree98f9753c71973336d460324abca38f1f4c1731e8 /modules/gallery/helpers/gallery_theme.php
parent994830f611c7736716883a6b219fb2848ac3ea24 (diff)
Move credits message into a variable, which can be changed in Admin >
Settings > Advanced. It's stored in the variable as an internationalized string and localized at output time.
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index d45e1b98..f955e8f7 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -124,8 +124,8 @@ class gallery_theme_Core {
}
static function credits() {
- return "<li class=\"first\">" .
- t("Powered by <a href=\"%url\">Gallery %version</a>",
+ return "<li class=\"first\">" .
+ t(module::get_var("gallery", "credits"),
array("url" => "http://gallery.menalto.com",
"version" => module::get_var("gallery", "version"))) .
"</li>";