diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-29 12:39:21 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-29 12:39:21 -0800 |
commit | 01bad461df11e60f6c92ad68980203cb9ef8425d (patch) | |
tree | 3b3bc7f8a35711915bea2344cf48c82cb24af889 /modules/gallery/controllers/admin_theme_options.php | |
parent | 3d4672ba88e2ef8cb47a9769e94fb3a45bdb3882 (diff) |
Publish theme_edit_form and theme_edit_form_completed events so that themes can piggyback on the regular Admin > Appearance > Theme Options page.
Diffstat (limited to 'modules/gallery/controllers/admin_theme_options.php')
-rw-r--r-- | modules/gallery/controllers/admin_theme_options.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/controllers/admin_theme_options.php b/modules/gallery/controllers/admin_theme_options.php index 27a67bdb..9de54c78 100644 --- a/modules/gallery/controllers/admin_theme_options.php +++ b/modules/gallery/controllers/admin_theme_options.php @@ -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 { |