summaryrefslogtreecommitdiff
path: root/themes/default/views/footer.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-26 02:47:38 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-26 02:47:38 +0000
commit4f77e7bdced8352c458da2b987917e6d3f32d1b8 (patch)
tree0bbcd82ca681b3f55273bdaf126556050c4068c4 /themes/default/views/footer.html.php
parent30fdedfb508392c9f76ff9ae5ccade90a80fc910 (diff)
Support adding custom header/footer text to themes via admin/theme_details
Diffstat (limited to 'themes/default/views/footer.html.php')
-rw-r--r--themes/default/views/footer.html.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/default/views/footer.html.php b/themes/default/views/footer.html.php
index 1944dbb0..0091afde 100644
--- a/themes/default/views/footer.html.php
+++ b/themes/default/views/footer.html.php
@@ -1,7 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<?= $theme->footer() ?>
+<? if ($footer_text = module::get_var("core", "footer_text")): ?>
+<?= $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>
+<? endif ?> \ No newline at end of file