1<?php
2
3/**
4 * Types of the different option values for the "monobook" 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/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 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: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$meta["monobook_userpage"]    = array("onoff");
37$meta["monobook_userpage_ns"] = array("string", "_pattern" => "/^:.{1,}:$/");
38
39//discussion pages
40$meta["monobook_discuss"]    = array("onoff");
41$meta["monobook_discuss_ns"] = array("string", "_pattern" => "/^:.{1,}:$/");
42
43//site notice
44$meta["monobook_sitenotice"]           = array("onoff");
45$meta["monobook_sitenotice_location"]  = array("string");
46$meta["monobook_sitenotice_translate"] = array("onoff");
47
48//navigation
49$meta["monobook_navigation"]           = array("onoff");
50$meta["monobook_navigation_location"]  = array("string");
51$meta["monobook_navigation_translate"] = array("onoff");
52
53//custom copyright notice
54$meta["monobook_copyright"]           = array("onoff");
55$meta["monobook_copyright_default"]   = array("onoff");
56$meta["monobook_copyright_location"]  = array("string");
57$meta["monobook_copyright_translate"] = array("onoff");
58
59//search form
60$meta["monobook_search"] = array("onoff");
61
62//toolbox
63$meta["monobook_toolbox"]               = array("onoff");
64$meta["monobook_toolbox_default"]       = array("onoff");
65$meta["monobook_toolbox_default_print"] = array("onoff");
66$meta["monobook_toolbox_location"]      = array("string");
67
68//qr code box
69$meta["monobook_qrcodebox"] = array("onoff");
70
71//donation link/button
72$meta["monobook_donate"]     = array("onoff");
73$meta["monobook_donate_url"] = array("string", "_pattern" => "/^.{1,6}:\/{2}.+$/");
74
75//TOC
76$meta["monobook_toc_position"] = array("multichoice", "_choices" => array("article", "sidebar"));
77
78//other stuff
79$meta["monobook_breadcrumbs_position"]  = array("multichoice", "_choices" => array("top", "bottom"));
80$meta["monobook_youarehere_position"]   = array("multichoice", "_choices" => array("top", "bottom"));
81$meta["monobook_cite_author"]           = array("string");
82$meta["monobook_loaduserjs"]            = array("onoff");
83$meta["monobook_closedwiki"]            = array("onoff");
84
85