1*fa5fcacaSAndreas Haerter<?php 2*fa5fcacaSAndreas Haerter 3*fa5fcacaSAndreas Haerter/** 4*fa5fcacaSAndreas Haerter * Default options 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 the type of a config value, have a look at "metadata.php" in 9*fa5fcacaSAndreas Haerter * 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 [tabs|boxes|buttons] configuration, have a look at 16*fa5fcacaSAndreas Haerter * "/user/[tabs|boxes|buttons].php". 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$conf["vector_userpage"] = true; //TRUE: use/show user pages 38*fa5fcacaSAndreas Haerter$conf["vector_userpage_ns"] = ":wiki:user:"; //namespace to use for user page storage 39*fa5fcacaSAndreas Haerter 40*fa5fcacaSAndreas Haerter//discussion pages 41*fa5fcacaSAndreas Haerter$conf["vector_discuss"] = true; //TRUE: use/show discussion pages 42*fa5fcacaSAndreas Haerter$conf["vector_discuss_ns"] = ":talk:"; //namespace to use for discussion page storage 43*fa5fcacaSAndreas Haerter 44*fa5fcacaSAndreas Haerter//site notice 45*fa5fcacaSAndreas Haerter$conf["vector_sitenotice"] = true; //TRUE: use/show sitenotice 46*fa5fcacaSAndreas Haerter$conf["vector_sitenotice_location"] = ":wiki:site_notice"; //page/article used to store the sitenotice 47*fa5fcacaSAndreas Haerter 48*fa5fcacaSAndreas Haerter//navigation 49*fa5fcacaSAndreas Haerter$conf["vector_navigation"] = true; //TRUE: use/show navigation 50*fa5fcacaSAndreas Haerter$conf["vector_navigation_location"] = ":wiki:navigation"; //page/article used to store the navigation 51*fa5fcacaSAndreas Haerter 52*fa5fcacaSAndreas Haerter//exportbox ("print/export") 53*fa5fcacaSAndreas Haerter$conf["vector_exportbox"] = true; //TRUE: use/show exportbox 54*fa5fcacaSAndreas Haerter$conf["vector_exportbox_default"] = true; //TRUE: use default exportbox (if exportbox is enabled at all) 55*fa5fcacaSAndreas Haerter$conf["vector_exportbox_location"] = ":wiki:exportbox"; //page/article used to store a custom exportbox 56*fa5fcacaSAndreas Haerter 57*fa5fcacaSAndreas Haerter//toolbox 58*fa5fcacaSAndreas Haerter$conf["vector_toolbox"] = true; //TRUE: use/show toolbox 59*fa5fcacaSAndreas Haerter$conf["vector_toolbox_default"] = true; //TRUE: use default toolbox (if toolbox is enabled at all) 60*fa5fcacaSAndreas Haerter$conf["vector_toolbox_location"] = ":wiki:toolbox"; //page/article used to store a custom toolbox 61*fa5fcacaSAndreas Haerter 62*fa5fcacaSAndreas Haerter//custom copyright notice 63*fa5fcacaSAndreas Haerter$conf["vector_copyright"] = true; //TRUE: use/show copyright notice 64*fa5fcacaSAndreas Haerter$conf["vector_copyright_default"] = true; //TRUE: use default copyright notice (if copyright notice is enabled at all) 65*fa5fcacaSAndreas Haerter$conf["vector_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice 66*fa5fcacaSAndreas Haerter 67*fa5fcacaSAndreas Haerter//donation link/button 68*fa5fcacaSAndreas Haerter$conf["vector_donate"] = true; //TRUE: use/show donation link/button 69*fa5fcacaSAndreas Haerter$conf["vector_donate_default"] = true; //TRUE: use default donation link/button (if donation link is enabled at all) 70*fa5fcacaSAndreas Haerter$conf["vector_donate_url"] = "http://andreas-haerter.com/donate/vector/paypal"; //custom donation URL instead of the default one 71*fa5fcacaSAndreas Haerter 72*fa5fcacaSAndreas Haerter//TOC 73*fa5fcacaSAndreas Haerter$conf["vector_toc_position"] = "article"; //article: show TOC embedded within the article; "sidebar": show TOC near the navigation, left column 74*fa5fcacaSAndreas Haerter 75*fa5fcacaSAndreas Haerter//other stuff 76*fa5fcacaSAndreas Haerter$conf["vector_mediamanager_embedded"] = false; //TRUE: Show media manager surrounded by the common navigation/tabs and stuff 77*fa5fcacaSAndreas Haerter$conf["vector_breadcrumbs_position"] = "bottom"; //position of breadcrumbs navigation ("top" or "bottom") 78*fa5fcacaSAndreas Haerter$conf["vector_youarehere_position"] = "top"; //position of "you are here" navigation ("top" or "bottom") 79*fa5fcacaSAndreas Haerterif (!empty($_SERVER["HTTP_HOST"])){ 80*fa5fcacaSAndreas Haerter $conf["vector_cite_author"] = "Contributors of ".hsc($_SERVER["HTTP_HOST"]); //name to use for the author on the citation page (hostname included) 81*fa5fcacaSAndreas Haerter} else { 82*fa5fcacaSAndreas Haerter $conf["vector_cite_author"] = "Anonymous Contributors"; //name to use for the author on the citation page 83*fa5fcacaSAndreas Haerter} 84*fa5fcacaSAndreas Haerter$conf["vector_loaduserjs"] = false; //TRUE: vector/user/user.js will be loaded 85*fa5fcacaSAndreas Haerter$conf["vector_closedwiki"] = false; //TRUE: hides most tabs/functions until user is logged in 86*fa5fcacaSAndreas Haerter 87