summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/theme.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-01 19:44:29 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-01 19:44:29 -0800
commitc803cb29091d3b069077d7711a2485f75f274835 (patch)
treef0ebcdacf6d749e6e2ebc47be4634a7eb13c2d5d /modules/gallery/helpers/theme.php
parent53df0df0a4f9d2d5369016a7e2ea983ffe202346 (diff)
parent6fa880777cb3b61c0e380ebd5e7b83de55a8d6d4 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/gallery/helpers/theme.php')
-rw-r--r--modules/gallery/helpers/theme.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/helpers/theme.php b/modules/gallery/helpers/theme.php
index 5245b16c..b836292f 100644
--- a/modules/gallery/helpers/theme.php
+++ b/modules/gallery/helpers/theme.php
@@ -86,6 +86,10 @@ class theme_Core {
->value(module::get_var("gallery", "footer_text"));
$group->checkbox("show_credits")->label(t("Show site credits"))->id("g-footer-text")
->checked(module::get_var("gallery", "show_credits"));
+
+ module::event("theme_edit_form", $form);
+
+ $group = $form->group("buttons");
$group->submit("")->value(t("Save"));
return $form;
}