1<?php
2
3/**
4 * Default options for the "monobook" 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/monobook/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 [tabs|boxes|buttons] configuration, have a look at
16 *   "/user/[tabs|boxes|buttons].php".
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:monobook
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$conf["monobook_userpage"]    = 1; //1: use/show user pages
37$conf["monobook_userpage_ns"] = ":wiki:user:"; //namespace to use for user page storage
38
39//discussion pages
40$conf["monobook_discuss"]    = 1; //1: use/show discussion pages
41$conf["monobook_discuss_ns"] = ":talk:"; //namespace to use for discussion page storage
42
43//site notice
44$conf["monobook_sitenotice"]           = 1; //1: use/show sitenotice
45$conf["monobook_sitenotice_location"]  = ":wiki:site_notice"; //page/article used to store the sitenotice
46$conf["monobook_sitenotice_translate"] = 1; //1: load translated sitenotice if translation plugin is available (see <https://www.dokuwiki.org/plugin:translation>)
47
48//navigation
49$conf["monobook_navigation"]           = 1; //1: use/show navigation
50$conf["monobook_navigation_location"]  = ":wiki:navigation"; //page/article used to store the navigation
51$conf["monobook_navigation_translate"] = 1; //1: load translated navigation if translation plugin is available (see <https://www.dokuwiki.org/plugin:translation>)
52
53//custom copyright notice
54$conf["monobook_copyright"]           = 1; //1: use/show copyright notice
55$conf["monobook_copyright_default"]   = 1; //1: use default copyright notice (if copyright notice is enabled at all)
56$conf["monobook_copyright_location"]  = ":wiki:copyright"; //page/article used to store a custom copyright notice
57$conf["monobook_copyright_translate"] = 1; //1: load translated copyright notice if translation plugin is available (see <https://www.dokuwiki.org/plugin:translation>)
58
59//search form
60$conf["monobook_search"] = 1; //1: use/show search form
61
62//toolbox
63$conf["monobook_toolbox"]               = 1; //1: use/show toolbox
64$conf["monobook_toolbox_default"]       = 1; //1: use default toolbox (if toolbox is enabled at all)
65$conf["monobook_toolbox_default_print"] = 1; //1: if default toolbox is used, show printable version link?
66$conf["monobook_toolbox_location"]      = ":wiki:toolbox"; //page/article used to store a custom toolbox
67
68//qr code box
69$conf["monobook_qrcodebox"] = 1; //1: use/show box with QR Code of current page's URL
70
71//donation link/button
72$conf["monobook_donate"]     = 0; //1: use/show donation link/button
73$conf["monobook_donate_url"] = "https://donate.arsava.com/dokuwiki-template-monobook/"; //custom donation URL
74
75//TOC
76$conf["monobook_toc_position"] = "article"; //article: show TOC embedded within the article; "sidebar": show TOC near the navigation, left column
77
78//other stuff
79$conf["monobook_breadcrumbs_position"]  = "bottom"; //position of breadcrumbs navigation ("top" or "bottom")
80$conf["monobook_youarehere_position"]   = "top"; //position of "you are here" navigation ("top" or "bottom")
81$conf["monobook_cite_author"]           = "Anonymous Contributors"; //name to use for the author on the citation page
82$conf["monobook_loaduserjs"]            = 0; //1: monobook/user/user.js will be loaded
83$conf["monobook_closedwiki"]            = 0; //1: hides most tabs/functions until user is logged in
84
85