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