diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-10 21:55:36 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-10 21:55:36 -0700 |
commit | af4411a44750b373916b841e01dac8ab434be68c (patch) | |
tree | 028ae7909a38c46246a5b8145a9d41b6053ef8d9 /modules/gallery/helpers/album.php | |
parent | 882a6d9a5dbf04ac26e046713f47068cd1361b74 (diff) |
Put the buttons for album/photo dialogs in their own group in the form
so that they appear at the end, after any other groups that other
modules add. Thanks Glooper!
Diffstat (limited to 'modules/gallery/helpers/album.php')
-rw-r--r-- | modules/gallery/helpers/album.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php index bae480b7..dfb1e66d 100644 --- a/modules/gallery/helpers/album.php +++ b/modules/gallery/helpers/album.php @@ -152,6 +152,7 @@ class album_Core { module::event("item_edit_form", $parent, $form); + $group = $form->group("buttons")->label(""); $group->hidden("type")->value("album"); $group->submit("")->value(t("Modify")); $form->add_rules_from(ORM::factory("item")); |