xref: /template/wikiweko/conf/metadata.php (revision 52972747e9c3383d4d396c6f0cbd170a6d036b46)
1<?php
2
3/**
4 * Types of the different option values for the "vector" DokuWiki template
5 *
6 * Notes:
7 * - In general, use the admin webinterface of DokuWiki to change 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/vector/lang/<your lang>/settings.php". If it does not exists,
13 *   copy and translate the English one. And don't forget to mail the
14 *   translation to me, Andreas Haerter <development@andreas-haerter.com> :-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 Andreas Haerter <development@andreas-haerter.com>
25 * @link http://andreas-haerter.com/projects/dokuwiki-template-vector
26 * @link http://www.dokuwiki.org/template:vector
27 * @link http://www.dokuwiki.org/devel:configuration
28 */
29
30
31//check if we are running within the DokuWiki environment
32if (!defined("DOKU_INC")){
33    die();
34}
35
36//user pages
37$meta["vector_userpage"]    = array("onoff");
38$meta["vector_userpage_ns"] = array("string", "_pattern" => "/^:.{1,}:$/");
39
40//discussion pages
41$meta["vector_discuss"]    = array("onoff");
42$meta["vector_discuss_ns"] = array("string", "_pattern" => "/^:.{1,}:$/");
43
44//site notice
45$meta["vector_sitenotice"]          = array("onoff");
46$meta["vector_sitenotice_location"] = array("string");
47
48//navigation
49$meta["vector_navigation"]           = array("onoff");
50$meta["vector_navigation_location"]  = array("string");
51$meta["vector_navigation_translate"] = array("onoff");
52
53//exportbox ("print/export")
54$meta["vector_exportbox"]          = array("onoff");
55$meta["vector_exportbox_default"]  = array("onoff");
56$meta["vector_exportbox_location"] = array("string");
57
58//toolbox
59$meta["vector_toolbox"]          = array("onoff");
60$meta["vector_toolbox_default"]  = array("onoff");
61$meta["vector_toolbox_location"] = array("string");
62
63//custom copyright notice
64$meta["vector_copyright"]          = array("onoff");
65$meta["vector_copyright_default"]  = array("onoff");
66$meta["vector_copyright_location"] = array("string");
67
68//donation link/button
69$meta["vector_donate"]          = array("onoff");
70$meta["vector_donate_default"]  = array("onoff");
71$meta["vector_donate_url"]      = array("string", "_pattern" => "/^.{1,6}:\/{2}.+$/");
72
73//TOC
74$meta["vector_toc_position"] = array("multichoice", "_choices" => array("article", "sidebar"));
75
76//other stuff
77$meta["vector_breadcrumbs_position"]  = array("multichoice", "_choices" => array("top", "bottom"));
78$meta["vector_youarehere_position"]   = array("multichoice", "_choices" => array("top", "bottom"));
79$meta["vector_cite_author"]           = array("string");
80$meta["vector_loaduserjs"]            = array("onoff");
81$meta["vector_closedwiki"]            = array("onoff");
82
83