xref: /plugin/captcha/conf/metadata.php (revision 28c1464375855d34176c4c82b0af17bf2676f457)
142a27035SAndreas Gohr<?php
242a27035SAndreas Gohr/**
342a27035SAndreas Gohr * Options for the CAPTCHA plugin
442a27035SAndreas Gohr *
542a27035SAndreas Gohr * @author Andreas Gohr <andi@splitbrain.org>
642a27035SAndreas Gohr */
742a27035SAndreas Gohr
89e312724SAndreas Gohr$meta['mode']        = array('multichoice', '_choices' => array('js', 'text', 'math', 'image', 'audio', 'figlet'));
942a27035SAndreas Gohr$meta['regprotect']  = array('onoff');
1042a27035SAndreas Gohr$meta['forusers']    = array('onoff');
11*28c14643SAndreas Gohr$meta['lettercount'] = array('numeric', '_min' => 3, '_max' => 16);
1242a27035SAndreas Gohr$meta['width']       = array('numeric', '_pattern' => '/[0-9]+/');
1342a27035SAndreas Gohr$meta['height']      = array('numeric', '_pattern' => '/[0-9]+/');
1442a27035SAndreas Gohr
15