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