142a27035SAndreas Gohr<?php 2*09b1e97eSAndreas Gohr 342a27035SAndreas Gohr/** 442a27035SAndreas Gohr * Options for the CAPTCHA plugin 542a27035SAndreas Gohr * 642a27035SAndreas Gohr * @author Andreas Gohr <andi@splitbrain.org> 742a27035SAndreas Gohr */ 842a27035SAndreas Gohr 918622736SAndreas Gohr$meta['mode'] = array( 1018622736SAndreas Gohr 'multichoice', 1118622736SAndreas Gohr '_choices' => array( 1218622736SAndreas Gohr 'js', 1318622736SAndreas Gohr 'text', 1418622736SAndreas Gohr 'math', 1518622736SAndreas Gohr 'question', 1618622736SAndreas Gohr 'image', 1718622736SAndreas Gohr 'audio', 1818622736SAndreas Gohr 'svg', 1918622736SAndreas Gohr 'svgaudio', 2018622736SAndreas Gohr 'figlet', 2118622736SAndreas Gohr ), 2218622736SAndreas Gohr); 2342a27035SAndreas Gohr$meta['forusers'] = array('onoff'); 24969b14c4SAndreas Gohr$meta['loginprotect'] = array('multichoice', '_choices' => array(0, 1, 2)); 2528c14643SAndreas Gohr$meta['lettercount'] = array('numeric', '_min' => 3, '_max' => 16); 2642a27035SAndreas Gohr$meta['width'] = array('numeric', '_pattern' => '/[0-9]+/'); 2742a27035SAndreas Gohr$meta['height'] = array('numeric', '_pattern' => '/[0-9]+/'); 28df8afac4SAndreas Gohr$meta['question'] = array('string'); 29df8afac4SAndreas Gohr$meta['answer'] = array('string'); 30