source: documentation/trunk/wiki/templates/greenstone-monobook/conf/default.php@ 30313

Last change on this file since 30313 was 30313, checked in by jmt12, 8 years ago

Replacing true/false with 0/1 as that seems to work more consistently

File size: 4.4 KB
Line 
1<?php
2
3/**
4 * Default options for the "monobook" DokuWiki template
5 *
6 * Modified for Greenstone Documentation
7 *
8 * Notes:
9 * - In general, use the admin webinterface of DokuWiki to change config.
10 * - To change the type of a config value, have a look at "metadata.php" in
11 * the same directory as this file.
12 * - To change/translate the descriptions showed in the admin/configuration
13 * menu of DokuWiki, have a look at the file
14 * "/lib/tpl/monobook/lang/<your lang>/settings.php". If it does not exists,
15 * copy and translate the English one. And don't forget to mail the
16 * translation to me, Andreas Haerter <[email protected]> :-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 <[email protected]>
27 * @link http://andreas-haerter.com/projects/dokuwiki-template-monobook
28 * @link http://www.dokuwiki.org/template:monobook
29 * @link http://www.dokuwiki.org/devel:configuration
30 */
31
32
33//check if we are running within the DokuWiki environment
34if (!defined("DOKU_INC")){
35 die();
36}
37
38//user pages
39$conf["monobook_userpage"] = 0; //TRUE: use/show user pages
40$conf["monobook_userpage_ns"] = ":wiki:user:"; //namespace to use for user page storage
41
42//discussion pages
43$conf["monobook_discuss"] = 0; //TRUE: use/show discussion pages
44$conf["monobook_discuss_ns"] = ":talk:"; //namespace to use for discussion page storage
45
46//site notice
47$conf["monobook_sitenotice"] = 1; //TRUE: use/show sitenotice
48$conf["monobook_sitenotice_location"] = ":wiki:site_notice"; //page/article used to store the sitenotice
49
50//navigation
51$conf["monobook_navigation"] = 1; //TRUE: use/show navigation
52$conf["monobook_navigation_location"] = ":wiki:navigation"; //page/article used to store the navigation
53$conf["monobook_navigation_translate"] = 1; //TRUE: load translated navigation if translation plugin is available (see <http://www.dokuwiki.org/plugin:translation>)
54
55//custom copyright notice
56$conf["monobook_copyright"] = 1; //TRUE: use/show copyright notice
57$conf["monobook_copyright_default"] = 0; //TRUE: use default copyright notice (if copyright notice is enabled at all)
58$conf["monobook_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice
59
60//search form
61$conf["monobook_search"] = 1; //TRUE: use/show search form
62
63//toolbox
64$conf["monobook_toolbox"] = 1; //TRUE: use/show toolbox
65$conf["monobook_toolbox_default"] = 1; //TRUE: use default toolbox (if toolbox is enabled at all)
66$conf["monobook_toolbox_default_print"] = 1; //TRUE: if default toolbox is used, show printable version link?
67$conf["monobook_toolbox_location"] = ":wiki:toolbox"; //page/article used to store a custom toolbox
68
69//donation link/button
70$conf["monobook_donate"] = 0; //TRUE: use/show donation link/button
71$conf["monobook_donate_default"] = 0; //TRUE: use default donation link/button (if donation link is enabled at all)
72$conf["monobook_donate_url"] = "http://andreas-haerter.com/donate/dokuwiki-template-monobook"; //custom donation URL instead of the default one
73
74//TOC
75$conf["monobook_toc_position"] = "article"; //article: show TOC embedded within the article; "sidebar": show TOC near the navigation, left column
76
77//other stuff
78$conf["monobook_breadcrumbs_position"] = "bottom"; //position of breadcrumbs navigation ("top" or "bottom")
79$conf["monobook_youarehere_position"] = "top"; //position of "you are here" navigation ("top" or "bottom")
80/*
81if (!empty($_SERVER["HTTP_HOST"])){
82 $conf["monobook_cite_author"] = "Contributors of ".hsc($_SERVER["HTTP_HOST"]); //name to use for the author on the citation page (hostname included)
83} else {
84 $conf["monobook_cite_author"] = "Anonymous Contributors"; //name to use for the author on the citation page
85}
86*/
87$conf["monobook_cite_author"] = "Contributors of wiki.greenstone.org"; //name to use for the author on the citation page
88$conf["monobook_loaduserjs"] = 0; //TRUE: monobook/user/user.js will be loaded
89$conf["monobook_closedwiki"] = 0; //TRUE: hides most tabs/functions until user is logged in
90$conf["monobook_youarehere"] = 1;
Note: See TracBrowser for help on using the repository browser.