summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-21 02:00:17 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-21 02:00:17 +0000
commit9d761b4a667ec29f4d4642068ef7808cf1057ab3 (patch)
treee018d132e273ae9a12fff1cdbea5e3828181a199 /core/helpers
parenta9e3692027dc767b340242ed18fe7184cbfd883d (diff)
Move the credits string into core_theme::credits()
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_theme.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/helpers/core_theme.php b/core/helpers/core_theme.php
index 8fb28b00..67255653 100644
--- a/core/helpers/core_theme.php
+++ b/core/helpers/core_theme.php
@@ -122,4 +122,12 @@ class core_theme_Core {
return L10n_Client_Controller::l10n_form();
}
}
+
+ static function credits() {
+ return "<li class=\"first\">" .
+ t("Powered by <a href=\"%url\">Gallery %version</a>",
+ array("url" => "http://gallery.menalto.com",
+ "version" => module::get_var("core", "version"))) .
+ "</li>";
+ }
} \ No newline at end of file