1<?php
2
3/**
4 * Default options for the "mnml-blog" 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/mnml-blog/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 *
16 *
17 * LICENSE: This file is open source software (OSS) and may be copied under
18 *          certain conditions. See COPYING file for details or try to contact
19 *          the author(s) of this file in doubt.
20 *
21 * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html)
22 * @author ARSAVA <dokuwiki@dev.arsava.com>
23 * @link https://www.dokuwiki.org/template:mnml-blog
24 * @link https://www.dokuwiki.org/devel:configuration
25 */
26
27
28//check if we are running within the DokuWiki environment
29if (!defined("DOKU_INC")){
30    die();
31}
32
33//header navigation
34$conf["mnmlblog_headernav"]          = 0; //1: use/show header navigation
35$conf["mnmlblog_headernav_location"] = ":wiki:navigation_header"; //page/article used to store the header navigation
36
37//sidebar navigation
38$conf["mnmlblog_sidebarnav"]          = 1; //1: use/show sidebar navigation
39$conf["mnmlblog_sidebarnav_location"] = ":wiki:navigation_sidebar"; //page/article used to store the sidebar navigation
40
41//custom copyright notice
42$conf["mnmlblog_copyright"]          = 1; //1: use/show copyright notice
43$conf["mnmlblog_copyright_default"]  = 1; //1: use default copyright notice (if copyright notice is enabled at all)
44$conf["mnmlblog_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice
45
46//search form
47$conf["mnmlblog_search"]     = 1; //1: use/show search
48$conf["mnmlblog_search_pos"] = "sidebar"; //sidebar or headernav
49
50//qr code box
51$conf["mnmlblog_qrcodebox"] = 1; //1: use/show box with QR Code of current page's URL
52
53//other stuff
54$conf["mnmlblog_newpostform_location"]   = ":wiki:create_new_blogpost"; //page/article used to store the form to create a new blog post
55$conf["mnmlblog_hideadminlinksfromanon"] = 0; //1: hide admin links if client is not an authenticated user (including login link -> you have to call "example.com?do=login" manually)
56$conf["mnmlblog_loaduserjs"]             = 0; //1: mnml-blog/user/user.js will be loaded
57
58