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