15 lines
605 B
PHP
15 lines
605 B
PHP
<?php
|
|
/**
|
|
* Options for the CAPTCHA plugin
|
|
*
|
|
* @author Andreas Gohr <andi@splitbrain.org>
|
|
*/
|
|
|
|
$meta['mode'] = array('multichoice', '_choices' => array('js', 'text', 'math', 'question', 'image', 'audio', 'svg', 'svgaudio', 'figlet'));
|
|
$meta['forusers'] = array('onoff');
|
|
$meta['loginprotect']= array('onoff');
|
|
$meta['lettercount'] = array('numeric', '_min' => 3, '_max' => 16);
|
|
$meta['width'] = array('numeric', '_pattern' => '/[0-9]+/');
|
|
$meta['height'] = array('numeric', '_pattern' => '/[0-9]+/');
|
|
$meta['question'] = array('string');
|
|
$meta['answer'] = array('string');
|