mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Publish theme_edit_form and theme_edit_form_completed events so that themes can piggyback on the regular Admin > Appearance > Theme Options page.
This commit is contained in:
@@ -58,6 +58,8 @@ class Admin_Theme_Options_Controller extends Admin_Controller {
|
||||
module::set_var("gallery", "footer_text", $form->edit_theme->footer_text->value);
|
||||
module::set_var("gallery", "show_credits", $form->edit_theme->show_credits->value);
|
||||
|
||||
module::event("theme_edit_form_completed", $form);
|
||||
|
||||
message::success(t("Updated theme details"));
|
||||
url::redirect("admin/theme_options");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user