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:
Bharat Mediratta
2009-11-29 12:39:21 -08:00
parent 3d4672ba88
commit 01bad461df
2 changed files with 6 additions and 0 deletions
@@ -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 {