1<?php 2 3/** 4 * Types of the different option values 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/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/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$meta["mnmlblog_headernav"] = array("onoff"); 35$meta["mnmlblog_headernav_location"] = array("string"); 36 37//sidebar navigation 38$meta["mnmlblog_sidebarnav"] = array("onoff"); 39$meta["mnmlblog_sidebarnav_location"] = array("string"); 40 41//custom copyright notice 42$meta["mnmlblog_copyright"] = array("onoff"); 43$meta["mnmlblog_copyright_default"] = array("onoff"); 44$meta["mnmlblog_copyright_location"] = array("string"); 45 46//search form 47$meta["mnmlblog_search"] = array("onoff"); 48$meta["mnmlblog_search_pos"] = array("multichoice", "_choices" => array("sidebar", "headernav")); 49 50//qr code box 51$meta["mnmlblog_qrcodebox"] = array("onoff"); 52 53//other stuff 54$meta["mnmlblog_newpostform_location"] = array("string"); 55$meta["mnmlblog_hideadminlinksfromanon"] = array("onoff"); 56$meta["mnmlblog_loaduserjs"] = array("onoff"); 57 58