summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-19 19:31:01 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-19 19:31:01 -0800
commite02675b730fb814105e1cb9dceb0e25fdcbd3e27 (patch)
treefec5b5cf7c11730d441fd335cbd0f28ba97a392c /modules/gallery/helpers
parentafe2128bb07938d47e98857b897d9d917062831d (diff)
Change "filename" to "name" in the edit album form. I'd rather have
consistency between field names than deal with underlying issues with Forge bitching about the "name" property.
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/movie.php2
-rw-r--r--modules/gallery/helpers/photo.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/movie.php b/modules/gallery/helpers/movie.php
index b2e846d3..b07a9e69 100644
--- a/modules/gallery/helpers/movie.php
+++ b/modules/gallery/helpers/movie.php
@@ -30,7 +30,7 @@ class movie_Core {
$group = $form->group("edit_item")->label(t("Edit Movie"));
$group->input("title")->label(t("Title"))->value($movie->title);
$group->textarea("description")->label(t("Description"))->value($movie->description);
- $group->input("filename")->label(t("Filename"))->value($movie->name)
+ $group->input("name")->label(t("Filename"))->value($movie->name)
->error_messages(
"conflict", t("There is already a movie, photo or album with this name"))
->error_messages("no_slashes", t("The movie name can't contain a \"/\""))
diff --git a/modules/gallery/helpers/photo.php b/modules/gallery/helpers/photo.php
index cb94772e..9bd277bc 100644
--- a/modules/gallery/helpers/photo.php
+++ b/modules/gallery/helpers/photo.php
@@ -30,7 +30,7 @@ class photo_Core {
$group = $form->group("edit_item")->label(t("Edit Photo"));
$group->input("title")->label(t("Title"))->value($photo->title);
$group->textarea("description")->label(t("Description"))->value($photo->description);
- $group->input("filename")->label(t("Filename"))->value($photo->name)
+ $group->input("name")->label(t("Filename"))->value($photo->name)
->error_messages("conflict", t("There is already a movie, photo or album with this name"))
->error_messages("no_slashes", t("The photo name can't contain a \"/\""))
->error_messages("no_trailing_period", t("The photo name can't end in \".\""))