xref: /template/wikiweko/conf/metadata.php (revision 099d81c127b7ef5ea92917177ea472a1f9637e03)
1fa5fcacaSAndreas Haerter<?php
2fa5fcacaSAndreas Haerter
3fa5fcacaSAndreas Haerter/**
4fa5fcacaSAndreas Haerter * Types of the different option values for the "vector" DokuWiki template
5fa5fcacaSAndreas Haerter *
6fa5fcacaSAndreas Haerter * Notes:
7*099d81c1SAndreas Haerter * - In general, use the admin webinterface of DokuWiki to change the config.
8fa5fcacaSAndreas Haerter * - To change/add configuration values to store, have a look at this file
9fa5fcacaSAndreas Haerter *   and the "default.php" in the same directory as this file.
10fa5fcacaSAndreas Haerter * - To change/translate the descriptions showed in the admin/configuration
11fa5fcacaSAndreas Haerter *   menu of DokuWiki, have a look at the file
12fa5fcacaSAndreas Haerter *   "/lib/tpl/vector/lang/<your lang>/settings.php". If it does not exists,
13*099d81c1SAndreas Haerter *   copy and translate the English one. Don't forget to mail your translation
14*099d81c1SAndreas Haerter *   to
15*099d81c1SAndreas Haerter *     Andreas Haerter <development@andreas-haerter.com>
16*099d81c1SAndreas Haerter *   Thanks :-D.
17fa5fcacaSAndreas Haerter * - To change the tab configuration, have a look at the "tabs.php" in the
18fa5fcacaSAndreas Haerter *   same directory as this file.
19fa5fcacaSAndreas Haerter *
20fa5fcacaSAndreas Haerter *
21fa5fcacaSAndreas Haerter * LICENSE: This file is open source software (OSS) and may be copied under
22fa5fcacaSAndreas Haerter *          certain conditions. See COPYING file for details or try to contact
23fa5fcacaSAndreas Haerter *          the author(s) of this file in doubt.
24fa5fcacaSAndreas Haerter *
25fa5fcacaSAndreas Haerter * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html)
26*099d81c1SAndreas Haerter * @author Andreas Haerter <development@andreas-haerter.com>
27fa5fcacaSAndreas Haerter * @link http://www.dokuwiki.org/template:vector
28fa5fcacaSAndreas Haerter * @link http://www.dokuwiki.org/devel:configuration
29fa5fcacaSAndreas Haerter */
30fa5fcacaSAndreas Haerter
31fa5fcacaSAndreas Haerter
32fa5fcacaSAndreas Haerter//check if we are running within the DokuWiki environment
33fa5fcacaSAndreas Haerterif (!defined("DOKU_INC")){
34fa5fcacaSAndreas Haerter    die();
35fa5fcacaSAndreas Haerter}
36fa5fcacaSAndreas Haerter
37fa5fcacaSAndreas Haerter//user pages
38fa5fcacaSAndreas Haerter$meta["vector_userpage"]    = array("onoff");
39fa5fcacaSAndreas Haerter$meta["vector_userpage_ns"] = array("string", "_pattern" => "/^:.{1,}:$/");
40fa5fcacaSAndreas Haerter
41fa5fcacaSAndreas Haerter//discussion pages
42fa5fcacaSAndreas Haerter$meta["vector_discuss"]    = array("onoff");
43fa5fcacaSAndreas Haerter$meta["vector_discuss_ns"] = array("string", "_pattern" => "/^:.{1,}:$/");
44fa5fcacaSAndreas Haerter
45fa5fcacaSAndreas Haerter//site notice
46fa5fcacaSAndreas Haerter$meta["vector_sitenotice"]           = array("onoff");
47fa5fcacaSAndreas Haerter$meta["vector_sitenotice_location"]  = array("string");
484d8721d7SAndreas Haerter$meta["vector_sitenotice_translate"] = array("onoff");
49fa5fcacaSAndreas Haerter
50fa5fcacaSAndreas Haerter//navigation
51fa5fcacaSAndreas Haerter$meta["vector_navigation"]           = array("onoff");
52fa5fcacaSAndreas Haerter$meta["vector_navigation_location"]  = array("string");
5352972747SAndreas Haerter$meta["vector_navigation_translate"] = array("onoff");
54fa5fcacaSAndreas Haerter
55fa5fcacaSAndreas Haerter//exportbox ("print/export")
56fa5fcacaSAndreas Haerter$meta["vector_exportbox"]          = array("onoff");
57fa5fcacaSAndreas Haerter$meta["vector_exportbox_default"]  = array("onoff");
58fa5fcacaSAndreas Haerter$meta["vector_exportbox_location"] = array("string");
59fa5fcacaSAndreas Haerter
60fa5fcacaSAndreas Haerter//toolbox
61fa5fcacaSAndreas Haerter$meta["vector_toolbox"]          = array("onoff");
62fa5fcacaSAndreas Haerter$meta["vector_toolbox_default"]  = array("onoff");
63fa5fcacaSAndreas Haerter$meta["vector_toolbox_location"] = array("string");
64fa5fcacaSAndreas Haerter
65f54a831fSAndreas Haerter//qr code box
66f54a831fSAndreas Haerter$meta["vector_qrcodebox"] = array("onoff");
67f54a831fSAndreas Haerter
68fa5fcacaSAndreas Haerter//custom copyright notice
69fa5fcacaSAndreas Haerter$meta["vector_copyright"]           = array("onoff");
70fa5fcacaSAndreas Haerter$meta["vector_copyright_default"]   = array("onoff");
71fa5fcacaSAndreas Haerter$meta["vector_copyright_location"]  = array("string");
724d8721d7SAndreas Haerter$meta["vector_copyright_translate"] = array("onoff");
73fa5fcacaSAndreas Haerter
74fa5fcacaSAndreas Haerter//donation link/button
75fa5fcacaSAndreas Haerter$meta["vector_donate"]     = array("onoff");
76fa5fcacaSAndreas Haerter$meta["vector_donate_url"] = array("string", "_pattern" => "/^.{1,6}:\/{2}.+$/");
77fa5fcacaSAndreas Haerter
78fa5fcacaSAndreas Haerter//TOC
79fa5fcacaSAndreas Haerter$meta["vector_toc_position"] = array("multichoice", "_choices" => array("article", "sidebar"));
80fa5fcacaSAndreas Haerter
81fa5fcacaSAndreas Haerter//other stuff
82fa5fcacaSAndreas Haerter$meta["vector_breadcrumbs_position"]  = array("multichoice", "_choices" => array("top", "bottom"));
83fa5fcacaSAndreas Haerter$meta["vector_youarehere_position"]   = array("multichoice", "_choices" => array("top", "bottom"));
84fa5fcacaSAndreas Haerter$meta["vector_cite_author"]           = array("string");
85fa5fcacaSAndreas Haerter$meta["vector_loaduserjs"]            = array("onoff");
86fa5fcacaSAndreas Haerter$meta["vector_closedwiki"]            = array("onoff");
87fa5fcacaSAndreas Haerter
88