1<?php 2 3/** 4 * Types of the different option values for the "vector" DokuWiki template 5 * 6 * Notes: 7 * - In general, use the admin webinterface of DokuWiki to change 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/vector/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, Andreas Haerter <ah@bitkollektiv.org> :-D. 15 * - To change the tab configuration, have a look at the "tabs.php" in the 16 * same directory as this file. 17 * 18 * 19 * LICENSE: This file is open source software (OSS) and may be copied under 20 * certain conditions. See COPYING file for details or try to contact 21 * the author(s) of this file in doubt. 22 * 23 * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 24 * @author Andreas Haerter <ah@bitkollektiv.org> 25 * @link http://www.dokuwiki.org/template:vector 26 * @link http://www.dokuwiki.org/devel:configuration 27 */ 28 29 30//check if we are running within the DokuWiki environment 31if (!defined("DOKU_INC")){ 32 die(); 33} 34 35//user pages 36$meta["vector_userpage"] = array("onoff"); 37$meta["vector_userpage_ns"] = array("string", "_pattern" => "/^:.{1,}:$/"); 38 39//discussion pages 40$meta["vector_discuss"] = array("onoff"); 41$meta["vector_discuss_ns"] = array("string", "_pattern" => "/^:.{1,}:$/"); 42 43//site notice 44$meta["vector_sitenotice"] = array("onoff"); 45$meta["vector_sitenotice_location"] = array("string"); 46 47//navigation 48$meta["vector_navigation"] = array("onoff"); 49$meta["vector_navigation_location"] = array("string"); 50$meta["vector_navigation_translate"] = array("onoff"); 51 52//exportbox ("print/export") 53$meta["vector_exportbox"] = array("onoff"); 54$meta["vector_exportbox_default"] = array("onoff"); 55$meta["vector_exportbox_location"] = array("string"); 56 57//toolbox 58$meta["vector_toolbox"] = array("onoff"); 59$meta["vector_toolbox_default"] = array("onoff"); 60$meta["vector_toolbox_location"] = array("string"); 61 62//custom copyright notice 63$meta["vector_copyright"] = array("onoff"); 64$meta["vector_copyright_default"] = array("onoff"); 65$meta["vector_copyright_location"] = array("string"); 66 67//donation link/button 68$meta["vector_donate"] = array("onoff"); 69$meta["vector_donate_url"] = array("string", "_pattern" => "/^.{1,6}:\/{2}.+$/"); 70 71//TOC 72$meta["vector_toc_position"] = array("multichoice", "_choices" => array("article", "sidebar")); 73 74//other stuff 75$meta["vector_breadcrumbs_position"] = array("multichoice", "_choices" => array("top", "bottom")); 76$meta["vector_youarehere_position"] = array("multichoice", "_choices" => array("top", "bottom")); 77$meta["vector_cite_author"] = array("string"); 78$meta["vector_loaduserjs"] = array("onoff"); 79$meta["vector_closedwiki"] = array("onoff"); 80 81