Changeset 3028 for trunk/system/i18n

Show
Ignore:
Timestamp:
07/10/2008 08:33:05 AM (5 months ago)
Author:
Geert
Message:

Captcha_Word_Driver added. It picks a word from the list you supply in the captcha i18n file.

What's also cool to note is that the Captcha_Word_Driver extends the Captcha_Basic_Driver and completely inherits its render() method. :)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/i18n/en_US/captcha.php

    r2753 r3028  
    55        'file_not_found' => 'The specified file, %s, was not found. Please verify that files exist by using file_exists() before using them.', 
    66        'requires_GD2'   => 'The Captcha library requires GD2 with FreeType support. Please see http://php.net/gd_info for more information.', 
     7 
     8        // Words of varying length for the Captcha_Word_Driver to pick from 
     9        // Note: use only alphanumeric characters 
     10        'words' => array 
     11        ( 
     12                'cd', 'tv', 'it', 'to', 'be', 'or', 
     13                'sun', 'car', 'dog', 'bed', 'kid', 'egg', 
     14                'bike', 'tree', 'bath', 'roof', 'road', 'hair', 
     15                'hello', 'world', 'earth', 'beard', 'chess', 'water', 
     16                'barber', 'bakery', 'banana', 'market', 'purple', 'writer', 
     17                'america', 'release', 'playing', 'working', 'foreign', 'general', 
     18                'aircraft', 'computer', 'laughter', 'alphabet', 'kangaroo', 'spelling', 
     19                'architect', 'president', 'cockroach', 'encounter', 'terrorism', 'cylinders', 
     20        ), 
    721);