mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-24 21:39:11 -04:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user