1<?php 2 3/** 4 * Types of the different option values for the "scanlines" DokuWiki template 5 * 6 * Notes: 7 * - In general, use the admin webinterface of DokuWiki to change the config. 8 * - To change/add configuration values to store, have a look at this file 9 * and the "default.php" in the same directory as this file. 10 * - To change/translate the descriptions showed in the admin/configuration 11 * menu of DokuWiki, have a look at the file 12 * "/lib/tpl/scanlines/lang/<your lang>/settings.php". If it does not exists, 13 * copy and translate the English one. And don't forget to mail the 14 * translation to me, Johannes Winkler <johannes@rocking-minds.org> :-D. 15 * 16 * 17 * LICENSE: This file is open source software (OSS) and may be copied under 18 * certain conditions. See COPYING file for details or try to contact 19 * the author(s) of this file in doubt. 20 * 21 * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 22 * @author Johannes Winkler <johannes@rocking-minds.org> 23 * @author Michael Klier <chi@chimeric.de> 24 * @link http://www.dokuwiki.org/devel:configuration 25 * @link http://www.dokuwiki.org/template:scanlines 26 * @link http://www.dokuwiki.org/template:arctic 27 */ 28 29$meta['sidebar'] = array('multichoice', '_choices' => array('left', 'right', 'none')); 30$meta['pagename'] = array('string', '_pattern' => '#[a-z0-9]*#'); 31$meta['main_sidebar_always'] = array('onoff'); 32$meta['user_sidebar_namespace'] = array('string', '_pattern' => '#^[a-z:]*#'); 33$meta['group_sidebar_namespace'] = array('string', '_pattern' => '#^[a-z:]*#'); 34$meta['left_sidebar_order'] = array('string', '_pattern' => '#[a-z0-9,]*#'); 35$meta['left_sidebar_content'] = array('multicheckbox', '_choices' => array('main','toc','user','group','namespace','toolbox','index','trace','extra')); 36$meta['right_sidebar_order'] = array('string', '_pattern' => '#[a-z0-9,]*#'); 37$meta['right_sidebar_content'] = array('multicheckbox', '_choices' => array('main','toc','user','group','namespace','toolbox','index','trace','extra',)); 38$meta['closedwiki1'] = array('onoff'); 39$meta['closedwiki2'] = array('onoff'); 40$meta['hideactions'] = array('onoff'); 41$meta['userbar'] = array('onoff'); 42$meta['sitemap'] = array('onoff'); 43$meta['logo'] = array('multichoice', '_choices' => array('image', 'text')); 44$meta['logo_image'] = array('string', '_pattern' => '#[a-z0-9\/]*#'); 45$meta['logo_yourdefinition'] = array('string', '_pattern' => '#[a-z0-9]*#'); 46$meta['logo_yourname'] = array('string', '_pattern' => '#[a-z0-9]*#'); 47$meta['navibutton1'] = array('string', '_pattern' => '#[a-z0-9\[\]\|]*#'); 48$meta['navibutton2'] = array('string', '_pattern' => '#[a-z0-9\[\]\|]*#'); 49$meta['navibutton3'] = array('string', '_pattern' => '#[a-z0-9\[\]\|]*#'); 50$meta['navibutton4'] = array('string', '_pattern' => '#[a-z0-9\[\]\|]*#'); 51$meta['navibutton5'] = array('string', '_pattern' => '#[a-z0-9\[\]\|]*#'); 52$meta['navibutton6'] = array('string', '_pattern' => '#[a-z0-9\[\]\|]*#'); 53$meta['top_link'] = array('onoff'); 54$meta["scanlines_loaduserjs"] = array("onoff"); 55 56?> 57