summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_theme_options.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-23 16:05:32 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-23 16:05:32 -0700
commitb9b68e09527f2680252bcba054019c45db07829a (patch)
tree9fd2ca11f0f9317086f62bc76961eb1b670f7b87 /modules/gallery/controllers/admin_theme_options.php
parentda09185a4baa739dd011804eb1301cdf2d126c11 (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/controllers/admin_theme_options.php')
-rw-r--r--modules/gallery/controllers/admin_theme_options.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/admin_theme_options.php b/modules/gallery/controllers/admin_theme_options.php
index 2716ed93..8970c3c9 100644
--- a/modules/gallery/controllers/admin_theme_options.php
+++ b/modules/gallery/controllers/admin_theme_options.php
@@ -56,6 +56,7 @@ class Admin_Theme_Options_Controller extends Admin_Controller {
module::set_var("gallery", "header_text", $form->edit_theme->header_text->value);
module::set_var("gallery", "footer_text", $form->edit_theme->footer_text->value);
+ module::set_var("gallery", "show_credits", $form->edit_theme->show_credits->value);
message::success(t("Updated theme details"));
url::redirect("admin/theme_options");