summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/FormHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-02-15 11:55:48 +0100
committerYorhel <git@yorhel.nl>2009-02-15 11:55:48 +0100
commit18672f0ae09f3669f483bb214f672932f57fe12f (patch)
treeb6d5a62763b80eb9bd7c8f77904547840f8044a5 /lib/VNDB/Util/FormHTML.pm
parent678b6c3089cd4372ca9e4bd48e629d46a6549c1a (diff)
Check for existing tag with the same name on tag creation or edit
Diffstat (limited to 'lib/VNDB/Util/FormHTML.pm')
-rw-r--r--lib/VNDB/Util/FormHTML.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VNDB/Util/FormHTML.pm b/lib/VNDB/Util/FormHTML.pm
index 75471830..05d67302 100644
--- a/lib/VNDB/Util/FormHTML.pm
+++ b/lib/VNDB/Util/FormHTML.pm
@@ -12,8 +12,10 @@ our @EXPORT = qw| htmlFormError htmlFormPart htmlForm |;
# form error messages
my %formerr_names = (
alias => 'Aliases',
+ aliases => 'Aliases',
anime => 'Anime',
desc => 'Description',
+ description => 'Description',
editsum => 'Edit summary',
gtin => 'JAN/EAN/UPC',
lang => 'Language',
@@ -51,6 +53,7 @@ my %formerr_exeptions = (
noimage => 'Image must be in JPEG or PNG format',
toolarge => 'Image is too large, only 500kB allowed',
oneaday => 'You can only register one account from the same IP within 24 hours',
+ tagexists => 'A tag with the same name already exists in the database!',
);