summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/FormHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-11-10 11:54:12 +0100
committerYorhel <git@yorhel.nl>2008-11-10 11:54:12 +0100
commit093f26da8e4eccdb875ec74332c7d5b1854336c5 (patch)
treea98309524636e6eb350e0cdd3afa73cf6f814756 /lib/VNDB/Util/FormHTML.pm
parent03329f873c62d3720cea4729a2790082a7e742fe (diff)
Creating a new account now works, and a few small style-related changes
Diffstat (limited to 'lib/VNDB/Util/FormHTML.pm')
-rw-r--r--lib/VNDB/Util/FormHTML.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/VNDB/Util/FormHTML.pm b/lib/VNDB/Util/FormHTML.pm
index 13af8b62..ea9b95b5 100644
--- a/lib/VNDB/Util/FormHTML.pm
+++ b/lib/VNDB/Util/FormHTML.pm
@@ -13,11 +13,15 @@ our @EXPORT = qw| htmlFormError htmlFormPart htmlFormSub htmlForm |;
my %formerr_names = (
usrname => 'Username',
usrpass => 'Password',
+ usrpass2 => 'Password (confirm)',
mail => 'Email',
);
my %formerr_exeptions = (
login_failed => 'Invalid username or password',
nomail => 'No user found with that email address',
+ passmatch => 'Passwords do not match',
+ usrexists => 'Someone already has this username, please choose something else',
+ mailexists => 'Someone already registerd with that email address',
);