diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-23 16:05:32 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-23 16:05:32 -0700 |
commit | b9b68e09527f2680252bcba054019c45db07829a (patch) | |
tree | 9fd2ca11f0f9317086f62bc76961eb1b670f7b87 /themes | |
parent | da09185a4baa739dd011804eb1301cdf2d126c11 (diff) |
Add a new "show credits" check box in the theme options so that you
can disable any module credits if you want. Update the theme to obey
it.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/views/footer.html.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/views/footer.html.php b/themes/default/views/footer.html.php index d7111922..040a4062 100644 --- a/themes/default/views/footer.html.php +++ b/themes/default/views/footer.html.php @@ -2,7 +2,9 @@ <?= $theme->footer() ?> <? if ($footer_text = module::get_var("gallery", "footer_text")): ?> <?= $footer_text ?> -<? else: ?> +<? endif ?> + +<? if (module::get_var("gallery", "show_credits")): ?> <ul id="gCredits"> <?= $theme->credits() ?> </ul> |