1<?php
2
3/**
4 * Options for the CAPTCHA plugin
5 *
6 * @author Andreas Gohr <andi@splitbrain.org>
7 */
8
9$meta['mode'] = array(
10    'multichoice',
11    '_choices' => array(
12        'js',
13        'text',
14        'math',
15        'question',
16        'image',
17        'audio',
18        'svg',
19        'svgaudio',
20        'figlet',
21    ),
22);
23$meta['forusers'] = array('onoff');
24$meta['loginprotect'] = array('multichoice', '_choices' => array(0, 1, 2));
25$meta['lettercount'] = array('numeric', '_min' => 3, '_max' => 16);
26$meta['width'] = array('numeric', '_pattern' => '/[0-9]+/');
27$meta['height'] = array('numeric', '_pattern' => '/[0-9]+/');
28$meta['question'] = array('string');
29$meta['answer'] = array('string');
30