1<?php 2 3/** 4 * Default options for the "prsnl10" 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/prsnl10/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 15 * ARSAVA <dokuwiki@dev.arsava.com> 16 * Thanks :-D. 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:prsnl10 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//header navigation 36$conf["prsnl10_headernav"] = 1; //1: use/show header navigation 37$conf["prsnl10_headernav_location"] = ":wiki:navigation_header"; //page/article used to store the header navigation 38 39//custom copyright notice 40$conf["prsnl10_copyright"] = 1; //1: use/show copyright notice 41$conf["prsnl10_copyright_default"] = 1; //1: use default copyright notice (if copyright notice is enabled at all) 42$conf["prsnl10_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice 43 44//custom footer content 45$conf["prsnl10_footer"] = 0; //1: use/show custom footer content 46$conf["prsnl10_footer_location"] = ":wiki:footer"; //page/article used to store a custom footer content 47 48//other stuff 49$conf["prsnl10_showpageinfo"] = 0; //1: show meta information about the current page (footer->tpl_pageinfo()) 50$conf["prsnl10_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) 51$conf["prsnl10_loaduserjs"] = 0; //1: prsnl10/user/user.js will be loaded 52 53