1<?php
2
3/**
4 * Configuration-manager metadata for indexmenu plugin
5 *
6 * @license:    GPL 2 (http://www.gnu.org/licenses/gpl.html)
7 * @author:     Samuele Tognini <samuele@samuele.netsons.org>
8 */
9
10$meta['defaultoptions'] = array('string');
11$meta['only_admins']   = array('onoff','_caution' => 'warning');
12$meta['aclcache']      = array('multichoice', '_choices' => array('none', 'user', 'groups'));
13$meta['headpage']      = array('multicheckbox', '_choices' => array(':start:', ':same:', ':inside:'));
14$meta['hide_headpage'] = array('onoff');
15$meta['page_index']    = array('string', '_pattern' => '#^[a-z:]*#');
16$meta['empty_msg']     = array('string');
17$meta['skip_index']    = array('string', '_pattern' => '/^($|\/.*\/.*$)/');
18$meta['skip_file']     = array('string', '_pattern' => '/^($|\/.*\/.*$)/');
19$meta['show_sort']     = array('onoff');
20//$meta['themes_url']           =       array('string','_pattern' => '/^($|http:\/\/\S+$)/i');
21//$meta['be_repo']          =   array('onoff');
22