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 /modules/gallery/helpers/theme.php | |
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 'modules/gallery/helpers/theme.php')
-rw-r--r-- | modules/gallery/helpers/theme.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/helpers/theme.php b/modules/gallery/helpers/theme.php index 0a43f25c..b46a2c14 100644 --- a/modules/gallery/helpers/theme.php +++ b/modules/gallery/helpers/theme.php @@ -55,6 +55,8 @@ class theme_Core { ->value(module::get_var("gallery", "header_text")); $group->textarea("footer_text")->label(t("Footer text"))->id("gFooterText") ->value(module::get_var("gallery", "footer_text")); + $group->checkbox("show_credits")->label(t("Show site credits"))->id("gFooterText") + ->checked(module::get_var("gallery", "show_credits")); $group->submit("")->value(t("Save")); return $form; } |