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 ARSAVA <dokuwiki@dev.arsava.com>. Thanks! :-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 ARSAVA <dokuwiki@dev.arsava.com> 25 * @link https://www.dokuwiki.org/template:vector 26 * @link https://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$meta["vector_sitenotice_translate"] = array("onoff"); 47 48//navigation 49$meta["vector_navigation"] = array("onoff"); 50$meta["vector_navigation_location"] = array("string"); 51$meta["vector_navigation_translate"] = array("onoff"); 52 53//exportbox ("print/export") 54$meta["vector_exportbox"] = array("onoff"); 55$meta["vector_exportbox_default"] = array("onoff"); 56$meta["vector_exportbox_location"] = array("string"); 57 58//toolbox 59$meta["vector_toolbox"] = array("onoff"); 60$meta["vector_toolbox_default"] = array("onoff"); 61$meta["vector_toolbox_location"] = array("string"); 62 63//qr code box 64$meta["vector_qrcodebox"] = array("onoff"); 65 66//custom copyright notice 67$meta["vector_copyright"] = array("onoff"); 68$meta["vector_copyright_default"] = array("onoff"); 69$meta["vector_copyright_location"] = array("string"); 70$meta["vector_copyright_translate"] = array("onoff"); 71 72//donation link/button 73$meta["vector_donate"] = array("onoff"); 74$meta["vector_donate_url"] = array("string", "_pattern" => "/^.{1,6}:\/{2}.+$/"); 75 76//TOC 77$meta["vector_toc_position"] = array("multichoice", "_choices" => array("article", "sidebar")); 78 79//other stuff 80$meta["vector_breadcrumbs_position"] = array("multichoice", "_choices" => array("top", "bottom")); 81$meta["vector_youarehere_position"] = array("multichoice", "_choices" => array("top", "bottom")); 82$meta["vector_cite_author"] = array("string"); 83$meta["vector_loaduserjs"] = array("onoff"); 84$meta["vector_closedwiki"] = array("onoff"); 85 86