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.
This commit is contained in:
Bharat Mediratta
2009-06-23 16:05:32 -07:00
parent da09185a4b
commit b9b68e0952
5 changed files with 14 additions and 3 deletions

View File

@@ -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");