diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-04-16 14:19:21 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-04-16 14:19:21 -0700 |
| commit | c2615e87a7ee82da9819e7a57ce2f6f9fcc6c6bb (patch) | |
| tree | 8e8ca571ff91c0af6511a712a422372be2020d31 /modules/gallery/helpers/album.php | |
| parent | 6652b691936f5fcf2f12aab947eca6c3cfae0ccc (diff) | |
| parent | 8d8aefc5b83b4b814e3f6bd14866b817c1dbb7d0 (diff) | |
Merge branch 'master' into bharat_dev
Diffstat (limited to 'modules/gallery/helpers/album.php')
| -rw-r--r-- | modules/gallery/helpers/album.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php index 521806a0..0baae631 100644 --- a/modules/gallery/helpers/album.php +++ b/modules/gallery/helpers/album.php @@ -45,9 +45,13 @@ class album_Core { ->error_messages("required", t("You must provide an internet address")) ->error_messages("length", t("Your internet address is too long")); $group->hidden("type")->value("album"); + + module::event("album_add_form", $parent, $form); + $group->submit("")->value(t("Create")); $form->script("") ->url(url::abs_file("modules/gallery/js/albums_form_add.js")); + return $form; } |
