Flint
Check-in [02ac16a103]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Spell check
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:02ac16a103c7b9818744455debbb50e62a8a5d80
User & Date: james 2012-06-12 00:48:30
Context
2012-07-08
03:45
Switch to bcrypt for password hashing and provide password migration check-in: ebb06e3403 user: james tags: trunk
2012-06-12
00:48
Spell check check-in: 02ac16a103 user: james tags: trunk
00:46
Add new name validation rule and allow + in email address check-in: 8ae48d4c11 user: james tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to nano/validation/rules.php.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    public static $_rules = array(
        'required'    => '{{field}} is required.',
        'login'       => '{{field}} and password combination is invalid.',
        'email'       => '{{field}} must be a valid email address.',
        'username'    => '{{field}} cannot contain spaces.',
        'alpha'       => '{{field}} must only contain letters.',
        'name'        => '{{field}} must only contain letters, spaces and hypens.',
        'numeric'     => '{{field}} must only contain numbers.',
        'filename'    => '{{field}} must only contain letters, numbers, underscores and dashes.',
        'length'      => '{{field}} cannot be longer than {{option}} characters.',
        'match'       => '{{field}} does not match {{option}}.',
        'unique'      => '{{field}} is already in use.',
        'uniqueEmail' => '{{field}} is already in use.',
    );







|







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    public static $_rules = array(
        'required'    => '{{field}} is required.',
        'login'       => '{{field}} and password combination is invalid.',
        'email'       => '{{field}} must be a valid email address.',
        'username'    => '{{field}} cannot contain spaces.',
        'alpha'       => '{{field}} must only contain letters.',
        'name'        => '{{field}} must only contain letters, spaces and hyphens.',
        'numeric'     => '{{field}} must only contain numbers.',
        'filename'    => '{{field}} must only contain letters, numbers, underscores and dashes.',
        'length'      => '{{field}} cannot be longer than {{option}} characters.',
        'match'       => '{{field}} does not match {{option}}.',
        'unique'      => '{{field}} is already in use.',
        'uniqueEmail' => '{{field}} is already in use.',
    );