diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-08-26 21:48:08 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-08-26 21:48:08 +0200 |
commit | 2594953f7f75a605a4e59aeb5b06feb4d6db50fb (patch) | |
tree | 84048936c4826ab0b2f5711afc4596cc6958c6ef /system | |
parent | 43e0fbb650d05466cd2568b8a2cc1c38849a6b52 (diff) |
Added Form Validation Library and updated docs
Diffstat (limited to 'system')
-rw-r--r-- | system/application/config/config.php | 2 | ||||
-rw-r--r-- | system/language/english/form_validation_lang.php | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/system/application/config/config.php b/system/application/config/config.php index da7979788..16cf62026 100644 --- a/system/application/config/config.php +++ b/system/application/config/config.php @@ -11,7 +11,7 @@ | http://example.com/
|
*/
-$config['base_url'] = "http://127.0.0.1/CodeIgniter/";
+$config['base_url'] = "http://127.0.0.1/EllisLab/_Development/CodeIgniter/";
/*
|--------------------------------------------------------------------------
diff --git a/system/language/english/form_validation_lang.php b/system/language/english/form_validation_lang.php new file mode 100644 index 000000000..7ca762d72 --- /dev/null +++ b/system/language/english/form_validation_lang.php @@ -0,0 +1,24 @@ +<?php
+
+$lang['required'] = "The %s field is required.";
+$lang['isset'] = "The %s field must have a value.";
+$lang['valid_email'] = "The %s field must contain a valid email address.";
+$lang['valid_emails'] = "The %s field must contain all valid email addresses.";
+$lang['valid_url'] = "The %s field must contain a valid URL.";
+$lang['valid_ip'] = "The %s field must contain a valid IP.";
+$lang['min_length'] = "The %s field must be at least %s characters in length.";
+$lang['max_length'] = "The %s field can not exceed %s characters in length.";
+$lang['exact_length'] = "The %s field must be exactly %s characters in length.";
+$lang['alpha'] = "The %s field may only contain alphabetical characters.";
+$lang['alpha_numeric'] = "The %s field may only contain alpha-numeric characters.";
+$lang['alpha_dash'] = "The %s field may only contain alpha-numeric characters, underscores, and dashes.";
+$lang['numeric'] = "The %s field must contain a number.";
+$lang['is_numeric'] = "The %s field must contain a number.";
+$lang['integer'] = "The %s field must contain an integer.";
+$lang['matches'] = "The %s field does not match the %s field.";
+$lang['is_natural'] = "The %s field must contain a number.";
+$lang['is_natural_no_zero'] = "The %s field must contain a number greater than zero.";
+
+
+/* End of file validation_lang.php */
+/* Location: ./system/language/english/validation_lang.php */
\ No newline at end of file |