xref: /template/wikiweko/conf/default.php (revision ab856294b0e20d9e377e58496f0705505e64a11a)
1<?php
2
3/**
4 * Default options for the "vector" DokuWiki template
5 *
6 * Notes:
7 * - In general, use the admin webinterface of DokuWiki to change the config.
8 * - To change the type of a config value, have a look at "metadata.php" in
9 *   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 [tabs|boxes|buttons] configuration, have a look at
18 *   "/user/[tabs|boxes|buttons].php".
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$conf["vector_userpage"]    = true; //TRUE: use/show user pages
39$conf["vector_userpage_ns"] = ":wiki:user:"; //namespace to use for user page storage
40
41//discussion pages
42$conf["vector_discuss"]    = true; //TRUE: use/show discussion pages
43$conf["vector_discuss_ns"] = ":talk:"; //namespace to use for discussion page storage
44
45//site notice
46$conf["vector_sitenotice"]           = true; //TRUE: use/show sitenotice
47$conf["vector_sitenotice_location"]  = ":wiki:site_notice"; //page/article used to store the sitenotice
48$conf["vector_sitenotice_translate"] = true; //TRUE: load translated sitenotice if translation plugin is available (see <http://www.dokuwiki.org/plugin:translation>)
49
50//navigation
51$conf["vector_navigation"]           = true; //TRUE: use/show navigation
52$conf["vector_navigation_location"]  = ":wiki:navigation"; //page/article used to store the navigation
53$conf["vector_navigation_translate"] = true; //TRUE: load translated navigation if translation plugin is available (see <http://www.dokuwiki.org/plugin:translation>)
54
55//exportbox ("print/export")
56$conf["vector_exportbox"]          = true; //TRUE: use/show exportbox
57$conf["vector_exportbox_default"]  = true; //TRUE: use default exportbox (if exportbox is enabled at all)
58$conf["vector_exportbox_location"] = ":wiki:exportbox"; //page/article used to store a custom exportbox
59
60//toolbox
61$conf["vector_toolbox"]          = true; //TRUE: use/show toolbox
62$conf["vector_toolbox_default"]  = true; //TRUE: use default toolbox (if toolbox is enabled at all)
63$conf["vector_toolbox_location"] = ":wiki:toolbox"; //page/article used to store a custom toolbox
64
65//qr code box
66$conf["vector_qrcodebox"] = true; //TRUE: use/show box with QR Code of current page's URL
67
68//custom copyright notice
69$conf["vector_copyright"]           = true; //TRUE: use/show copyright notice
70$conf["vector_copyright_default"]   = true; //TRUE: use default copyright notice (if copyright notice is enabled at all)
71$conf["vector_copyright_location"]  = ":wiki:copyright"; //page/article used to store a custom copyright notice
72$conf["vector_copyright_translate"] = true; //TRUE: load translated copyright notice if translation plugin is available (see <http://www.dokuwiki.org/plugin:translation>)
73
74//donation link/button
75$conf["vector_donate"]     = true; //TRUE: use/show donation link/button
76$conf["vector_donate_url"] = "http://donate.andreas-haerter.com/dokuwiki-template-vector/"; //custom donation URL
77
78//TOC
79$conf["vector_toc_position"] = "article"; //article: show TOC embedded within the article; "sidebar": show TOC near the navigation, left column
80
81//other stuff
82$conf["vector_breadcrumbs_position"]  = "bottom"; //position of breadcrumbs navigation ("top" or "bottom")
83$conf["vector_youarehere_position"]   = "top"; //position of "you are here" navigation ("top" or "bottom")
84if (!empty($_SERVER["HTTP_HOST"])){
85  $conf["vector_cite_author"] = "Contributors of ".hsc($_SERVER["HTTP_HOST"]); //name to use for the author on the citation page (hostname included)
86} else {
87  $conf["vector_cite_author"] = "Anonymous Contributors"; //name to use for the author on the citation page
88}
89$conf["vector_loaduserjs"]            = false; //TRUE: vector/user/user.js will be loaded
90$conf["vector_closedwiki"]            = false; //TRUE: hides most tabs/functions until user is logged in
91
92