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