39 lines
1.2 KiB
PHP
39 lines
1.2 KiB
PHP
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
$lang = array
|
|
(
|
|
'username' => Array
|
|
(
|
|
'required' => 'The name cannot be blank.',
|
|
'length' => 'The name must be between three and twenty letters.',
|
|
'chars' => 'Only alphabetic characters are allowed.',
|
|
'exist' => 'The username exist',
|
|
'default' => 'Invalid Input.',
|
|
),
|
|
'password' => Array
|
|
(
|
|
'required' => 'You must supply a password.',
|
|
'pwd_check' => 'The password is not correct.',
|
|
'default' => 'Invalid Input.',
|
|
),
|
|
'password2' => Array
|
|
(
|
|
'required' => 'You must supply a password.',
|
|
'pwd_check' => 'The password is not correct.',
|
|
'default' => 'Invalid Input.',
|
|
),
|
|
'number' => Array
|
|
(
|
|
'required' => 'The number cannot be blank.',
|
|
'numeric' => 'Only numbers are allowed.',
|
|
'length' => 'The number must be between three and five numerals.',
|
|
'default' => 'Invalid Input.',
|
|
),
|
|
'email' => Array
|
|
(
|
|
'email' => 'The e-mail is invalid',
|
|
'length' => 'The e-mail lenght is invalid',
|
|
'exist' => 'The e-mail exist',
|
|
'default' => 'Invalid Input.',
|
|
),
|
|
); |