1<?php
2/*
3 * configuration metadata
4 *
5 * @author   Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
6 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
7 */
8
9
10// Theme
11$meta['bootstrapTheme']      = array('multichoice', '_choices' => array('default', 'optional', 'custom', 'bootswatch'));
12$meta['bootswatchTheme']     = array('multichoice', '_choices' => array('cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'lumen', 'paper', 'readable', 'sandstone', 'simplex', 'solar', 'slate', 'spacelab', 'superhero', 'united', 'yeti'));
13$meta['customTheme']         = array('string');
14$meta['showThemeSwitcher']   = array('onoff');
15$meta['hideInThemeSwitcher'] = array('multicheckbox', '_choices' => $meta['bootswatchTheme']['_choices']);
16$meta['themeByNamespace']    = array('onoff');
17
18// Sidebar
19$meta['sidebarPosition']      = array('multichoice', '_choices' => array('left', 'right'));
20$meta['rightSidebar']         = array('string');
21$meta['leftSidebarGrid']      = array('string');
22$meta['rightSidebarGrid']     = array('string');
23$meta['sidebarOnNavbar']      = array('onoff');
24$meta['sidebarShowPageTitle'] = array('onoff');
25
26// Navbar
27$meta['inverseNavbar']          = array('onoff');
28$meta['fixedTopNavbar']         = array('onoff');
29$meta['showTranslation']        = array('onoff');
30$meta['showTools']              = array('multichoice', '_choices' => array('never', 'logged', 'always'));
31$meta['showHomePageLink']       = array('onoff');
32$meta['homePageURL']            = array('string', '_caution' => 'warning');
33$meta['showUserHomeLink']       = array('onoff');
34$meta['hideLoginLink']          = array('onoff');
35$meta['showEditBtn']            = array('multichoice', '_choices' => array('never', 'logged', 'always'));
36$meta['individualTools']        = array('onoff');
37$meta['showIndividualTool']     = array('multicheckbox', '_choices' => array('user', 'site', 'page'));
38$meta['showSearchForm']         = array('multichoice', '_choices' => array('never', 'logged', 'always'));
39$meta['showAdminMenu']          = array('onoff');
40$meta['showNavbar']             = array('multichoice', '_choices' => array('logged', 'always'));
41$meta['navbarLabels']           = array('multicheckbox', '_choices' => array('login', 'register', 'admin', 'tools', 'user', 'site', 'page', 'themes', 'expand', 'profile'));
42$meta['showAddNewPage']         = array('multichoice', '_choices' => array('never', 'logged', 'always'));
43$meta['notifyExtensionsUpdate'] = array('onoff');
44$meta['disableSearchSuggest']   = array('onoff');
45
46// Semantic
47$meta['schemaOrgType']       = array('multichoice', '_choices' => array('Article', 'NewsArticle', 'TechArticle', 'BlogPosting', 'Recipe'));
48$meta['showSemanticPopup']   = array('onoff');
49
50// Layout
51$meta['fluidContainer']         = array('onoff');
52$meta['pageOnPanel']            = array('onoff');
53$meta['tableFullWidth']         = array('onoff');
54$meta['tableStyle']             = array('multicheckbox', '_choices' => array('striped', 'bordered', 'hover', 'condensed', 'responsive'));
55$meta['showLandingPage']        = array('onoff');
56$meta['landingPages']           = array('regex');
57$meta['showPageTools']          = array('multichoice', '_choices' => array('never', 'logged', 'always'));
58$meta['showPageId']             = array('onoff');
59$meta['showBadges']             = array('onoff');
60$meta['showLoginOnFooter']      = array('onoff');
61$meta['showWikiInfo']           = array('onoff');
62
63// TOC
64$meta['tocAffix']               = array('onoff');
65$meta['tocCollapseSubSections'] = array('onoff');
66$meta['tocCollapseOnScroll']    = array('onoff');
67$meta['tocCollapsed']           = array('onoff');
68$meta['tocLayout']              = array('multichoice', '_choices' => array('default', 'navbar'));
69
70// Discussion
71$meta['showDiscussion']      = array('onoff');
72$meta['discussionPage']      = array('string');
73
74// Avatar
75$meta['useAvatar']           = array('multichoice', '_choices' => array('off', 'gravatar', 'libravatar', 'office365', 'activedirectory', 'local'));
76$meta['gravatarURL']         = array('string');
77$meta['libravatarURL']       = array('string');
78$meta['office365URL']        = array('string');
79
80// Cookie Law
81$meta['showCookieLawBanner'] = array('onoff');
82$meta['cookieLawBannerPage'] = array('string');
83$meta['cookieLawPolicyPage'] = array('string');
84
85// Google Analytics
86$meta['useGoogleAnalytics']          = array('onoff');
87$meta['googleAnalyticsTrackID']      = array('string');
88$meta['googleAnalyticsAnonymizeIP']  = array('onoff');
89$meta['googleAnalyticsNoTrackAdmin'] = array('onoff');
90$meta['googleAnalyticsNoTrackUsers'] = array('onoff');
91$meta['googleAnalyticsNoTrackPages'] = array('regex');
92$meta['googleAnalyticsTrackActions'] = array('onoff');
93
94// Browser Title
95$meta['browserTitle']          = array('string');
96$meta['browserTitleShowNS']    = array('onoff');
97$meta['browserTitleCharSepNS'] = array('multichoice', '_choices' => array('-', '|', ',', '/', '>'));
98$meta['browserTitleOrderNS']   = array('multichoice', '_choices' => array('normal', 'reverse'));
99
100// Page
101$meta['showPageInfo']               = array('onoff');
102$meta['useACL']                     = array('onoff', '_caution' => 'warning');
103$meta['pageInfo']                   = array('multicheckbox', '_choices' => array('filename', 'extension', 'date', 'editor', 'locked'));
104$meta['pageInfoDateFormat']         = array('multichoice', '_choices'   => array('dformat', 'human'));
105$meta['showPageIcons']              = array('onoff');
106$meta['pageIcons']                  = array('multicheckbox', '_choices' => array('social-share', 'feed', 'send-mail', 'permalink', 'print', 'help'));
107$meta['socialShareProviders']       = array('multicheckbox', '_choices' => array('facebook', 'linkedin', 'microsoft-teams', 'pinterest', 'whatsapp', 'reddit', 'twitter', 'telegram', 'yammer'));
108$meta['useAlternativeToolbarIcons'] = array('onoff');
109$meta['tagsOnTop']                  = array('onoff');
110$meta['useAnchorJS']                = array('onoff');
111$meta['collapsibleSections']        = array('onoff');
112$meta['domParserMaxPageSize']       = array('numeric', '_min' => 0);
113