xref: /template/wikiweko/conf/default.php (revision 078ed77396cf7f90c55744c8e985d2e92a07a671)
1fa5fcacaSAndreas Haerter<?php
2fa5fcacaSAndreas Haerter
3fa5fcacaSAndreas Haerter/**
4fa5fcacaSAndreas Haerter * Default options for the "vector" DokuWiki template
5fa5fcacaSAndreas Haerter *
6fa5fcacaSAndreas Haerter * Notes:
7fa5fcacaSAndreas Haerter * - In general, use the admin webinterface of DokuWiki to change config.
8fa5fcacaSAndreas Haerter * - To change the type of a config value, have a look at "metadata.php" in
9fa5fcacaSAndreas Haerter *   the same directory as this file.
10fa5fcacaSAndreas Haerter * - To change/translate the descriptions showed in the admin/configuration
11fa5fcacaSAndreas Haerter *   menu of DokuWiki, have a look at the file
12fa5fcacaSAndreas Haerter *   "/lib/tpl/vector/lang/<your lang>/settings.php". If it does not exists,
13fa5fcacaSAndreas Haerter *   copy and translate the English one. And don't forget to mail the
14*078ed773SAndreas Haerter *   translation to me, Andreas Haerter <development@andreas-haerter.com> :-D.
15fa5fcacaSAndreas Haerter * - To change the [tabs|boxes|buttons] configuration, have a look at
16fa5fcacaSAndreas Haerter *   "/user/[tabs|boxes|buttons].php".
17fa5fcacaSAndreas Haerter *
18fa5fcacaSAndreas Haerter *
19fa5fcacaSAndreas Haerter * LICENSE: This file is open source software (OSS) and may be copied under
20fa5fcacaSAndreas Haerter *          certain conditions. See COPYING file for details or try to contact
21fa5fcacaSAndreas Haerter *          the author(s) of this file in doubt.
22fa5fcacaSAndreas Haerter *
23fa5fcacaSAndreas Haerter * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html)
24*078ed773SAndreas Haerter * @author Andreas Haerter <development@andreas-haerter.com>
25fa5fcacaSAndreas Haerter * @link http://andreas-haerter.com/projects/dokuwiki-template-vector
26fa5fcacaSAndreas Haerter * @link http://www.dokuwiki.org/template:vector
27fa5fcacaSAndreas Haerter * @link http://www.dokuwiki.org/devel:configuration
28fa5fcacaSAndreas Haerter */
29fa5fcacaSAndreas Haerter
30fa5fcacaSAndreas Haerter
31fa5fcacaSAndreas Haerter//check if we are running within the DokuWiki environment
32fa5fcacaSAndreas Haerterif (!defined("DOKU_INC")){
33fa5fcacaSAndreas Haerter    die();
34fa5fcacaSAndreas Haerter}
35fa5fcacaSAndreas Haerter
36fa5fcacaSAndreas Haerter//user pages
37fa5fcacaSAndreas Haerter$conf["vector_userpage"]    = true; //TRUE: use/show user pages
38fa5fcacaSAndreas Haerter$conf["vector_userpage_ns"] = ":wiki:user:"; //namespace to use for user page storage
39fa5fcacaSAndreas Haerter
40fa5fcacaSAndreas Haerter//discussion pages
41fa5fcacaSAndreas Haerter$conf["vector_discuss"]    = true; //TRUE: use/show discussion pages
42fa5fcacaSAndreas Haerter$conf["vector_discuss_ns"] = ":talk:"; //namespace to use for discussion page storage
43fa5fcacaSAndreas Haerter
44fa5fcacaSAndreas Haerter//site notice
45fa5fcacaSAndreas Haerter$conf["vector_sitenotice"]          = true; //TRUE: use/show sitenotice
46fa5fcacaSAndreas Haerter$conf["vector_sitenotice_location"] = ":wiki:site_notice"; //page/article used to store the sitenotice
47fa5fcacaSAndreas Haerter
48fa5fcacaSAndreas Haerter//navigation
49fa5fcacaSAndreas Haerter$conf["vector_navigation"]          = true; //TRUE: use/show navigation
50fa5fcacaSAndreas Haerter$conf["vector_navigation_location"] = ":wiki:navigation"; //page/article used to store the navigation
51fa5fcacaSAndreas Haerter
52fa5fcacaSAndreas Haerter//exportbox ("print/export")
53fa5fcacaSAndreas Haerter$conf["vector_exportbox"]          = true; //TRUE: use/show exportbox
54fa5fcacaSAndreas Haerter$conf["vector_exportbox_default"]  = true; //TRUE: use default exportbox (if exportbox is enabled at all)
55fa5fcacaSAndreas Haerter$conf["vector_exportbox_location"] = ":wiki:exportbox"; //page/article used to store a custom exportbox
56fa5fcacaSAndreas Haerter
57fa5fcacaSAndreas Haerter//toolbox
58fa5fcacaSAndreas Haerter$conf["vector_toolbox"]          = true; //TRUE: use/show toolbox
59fa5fcacaSAndreas Haerter$conf["vector_toolbox_default"]  = true; //TRUE: use default toolbox (if toolbox is enabled at all)
60fa5fcacaSAndreas Haerter$conf["vector_toolbox_location"] = ":wiki:toolbox"; //page/article used to store a custom toolbox
61fa5fcacaSAndreas Haerter
62fa5fcacaSAndreas Haerter//custom copyright notice
63fa5fcacaSAndreas Haerter$conf["vector_copyright"]          = true; //TRUE: use/show copyright notice
64fa5fcacaSAndreas Haerter$conf["vector_copyright_default"]  = true; //TRUE: use default copyright notice (if copyright notice is enabled at all)
65fa5fcacaSAndreas Haerter$conf["vector_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice
66fa5fcacaSAndreas Haerter
67fa5fcacaSAndreas Haerter//donation link/button
68fa5fcacaSAndreas Haerter$conf["vector_donate"]          = true; //TRUE: use/show donation link/button
69fa5fcacaSAndreas Haerter$conf["vector_donate_default"]  = true; //TRUE: use default donation link/button (if donation link is enabled at all)
70fa5fcacaSAndreas Haerter$conf["vector_donate_url"]      = "http://andreas-haerter.com/donate/vector/paypal"; //custom donation URL instead of the default one
71fa5fcacaSAndreas Haerter
72fa5fcacaSAndreas Haerter//TOC
73fa5fcacaSAndreas Haerter$conf["vector_toc_position"] = "article"; //article: show TOC embedded within the article; "sidebar": show TOC near the navigation, left column
74fa5fcacaSAndreas Haerter
75fa5fcacaSAndreas Haerter//other stuff
76fa5fcacaSAndreas Haerter$conf["vector_mediamanager_embedded"] =  false; //TRUE: Show media manager surrounded by the common navigation/tabs and stuff
77fa5fcacaSAndreas Haerter$conf["vector_breadcrumbs_position"]  = "bottom"; //position of breadcrumbs navigation ("top" or "bottom")
78fa5fcacaSAndreas Haerter$conf["vector_youarehere_position"]   = "top"; //position of "you are here" navigation ("top" or "bottom")
79fa5fcacaSAndreas Haerterif (!empty($_SERVER["HTTP_HOST"])){
80fa5fcacaSAndreas Haerter  $conf["vector_cite_author"] = "Contributors of ".hsc($_SERVER["HTTP_HOST"]); //name to use for the author on the citation page (hostname included)
81fa5fcacaSAndreas Haerter} else {
82fa5fcacaSAndreas Haerter  $conf["vector_cite_author"] = "Anonymous Contributors"; //name to use for the author on the citation page
83fa5fcacaSAndreas Haerter}
84fa5fcacaSAndreas Haerter$conf["vector_loaduserjs"]            = false; //TRUE: vector/user/user.js will be loaded
85fa5fcacaSAndreas Haerter$conf["vector_closedwiki"]            = false; //TRUE: hides most tabs/functions until user is logged in
86fa5fcacaSAndreas Haerter
87