diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-07-25 19:33:11 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-07-25 19:33:11 -0600 |
commit | 8f9b5dcf83ffde65f45d9eb4f103407103764dfa (patch) | |
tree | a2f5faa8bb96ef60c3bc2135b7a11241ebd3b26d /modules/gallery | |
parent | eca46d76a7832f771d377edb3939ea1aded2fac9 (diff) | |
parent | f8516b55d2f0fcf145bb6c27475d633e8a89ccf8 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery')
-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 0263e0e1..f146bfb3 100644 --- a/modules/gallery/helpers/album.php +++ b/modules/gallery/helpers/album.php @@ -104,6 +104,7 @@ class album_Core { $group->textarea("description")->label(t("Description"))->value($parent->description); if ($parent->id != 1) { $group->input("dirname")->label(t("Directory Name"))->value($parent->name) + ->rules("required") ->callback("item::validate_no_slashes") ->error_messages("no_slashes", t("The directory name can't contain a \"/\"")) ->callback("item::validate_no_trailing_period") |