diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-04-15 05:22:30 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-04-15 05:22:30 -0700 |
| commit | c58b2aaf88d9b92880bcec1419793edca9acb6fb (patch) | |
| tree | d04bbf149874b14173956cb896991a9e8a8a2b96 /modules/gallery/helpers/album.php | |
| parent | 9bb4c954bbc10e71a695b57f7e8979a140f4873f (diff) | |
| parent | 8d8aefc5b83b4b814e3f6bd14866b817c1dbb7d0 (diff) | |
Merge branch 'master' into talmdal_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; } |
