summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/helpers/core_theme.php8
-rw-r--r--themes/default/views/footer.html.php1
2 files changed, 8 insertions, 1 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
diff --git a/themes/default/views/footer.html.php b/themes/default/views/footer.html.php
index 0091afde..e88a51e6 100644
--- a/themes/default/views/footer.html.php
+++ b/themes/default/views/footer.html.php
@@ -4,7 +4,6 @@
<?= $footer_text ?>
<? else: ?>
<ul id="gCredits">
- <li class="first"> Powered by <a href="http://gallery.menalto.com">Gallery3</a> </li>
<?= $theme->credits() ?>
<li> <a href="#">About this Gallery</a> </li>
</ul>