summaryrefslogtreecommitdiff
path: root/lib/tpl/nowawes/conf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tpl/nowawes/conf')
-rw-r--r--lib/tpl/nowawes/conf/default.php25
-rw-r--r--lib/tpl/nowawes/conf/metadata.php24
2 files changed, 49 insertions, 0 deletions
diff --git a/lib/tpl/nowawes/conf/default.php b/lib/tpl/nowawes/conf/default.php
new file mode 100644
index 000000000..0b2e25f81
--- /dev/null
+++ b/lib/tpl/nowawes/conf/default.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Default configuration for the arctic template
+ *
+ * @license: GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @author: Michael Klier <chi@chimeric.de>
+ */
+
+$conf['sidebar'] = 'left'; // enable/disable sidebar
+$conf['pagename'] = 'sidebar'; // the pagename for sidebars inside namespaces
+$conf['user_sidebar_namespace'] = 'user'; // namespace to look for namespace of logged in users
+$conf['group_sidebar_namespace'] = 'group'; // namespace to look for groups-namespaces
+$conf['trace'] = 1; // show trace at top of the page
+$conf['main_sidebar_always'] = 1; // show main sidebar on all namespaces
+$conf['wiki_actionlinks'] = 'links'; // use buttons instead of links
+$conf['left_sidebar_content'] = 'main,user,group,namespace'; // defines the content of the left sidebar
+$conf['left_sidebar_order'] = 'main,namespace,user,group'; // defines the order of the left sidebar content
+$conf['right_sidebar_content'] = 'main,user,group,namespace'; // defines the content of the right sidebar
+$conf['right_sidebar_order'] = 'main,namespace,user,group'; // defines the order of the right sidebar content
+$conf['search'] = 'left'; // defines the position of the search form when 2 sidebars are used
+$conf['closedwiki'] = 0; // don't show sidebars for logged out users at all
+$conf['hideactions'] = 0; // hide all wiki related actions for non logged in users
+
+//Setup vim: ts=2 sw=2:
+?>
diff --git a/lib/tpl/nowawes/conf/metadata.php b/lib/tpl/nowawes/conf/metadata.php
new file mode 100644
index 000000000..8dcdacbf5
--- /dev/null
+++ b/lib/tpl/nowawes/conf/metadata.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * configuration-manager metadata for the arctic-template
+ *
+ * @license: GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @author: Michael Klier <chi@chimeric.de>
+ */
+
+$meta['sidebar'] = array('multichoice', '_choices' => array('left', 'right', 'both', 'none'));
+$meta['pagename'] = array('string', '_pattern' => '#[a-z0-9]*#');
+$meta['trace'] = array('onoff');
+$meta['main_sidebar_always'] = array('onoff');
+$meta['wiki_actionlinks'] = array('multichoice', '_choices' => array('links', 'buttons'));
+$meta['user_sidebar_namespace'] = array('string', '_pattern' => '#^[a-z:]*#');
+$meta['group_sidebar_namespace'] = array('string', '_pattern' => '#^[a-z:]*#');
+$meta['left_sidebar_order'] = array('string', '_pattern' => '#[a-z0-9,]*#');
+$meta['left_sidebar_content'] = array('multicheckbox', '_choices' => array('main','toc','user','group','namespace','toolbox','index','trace','extra'));
+$meta['right_sidebar_order'] = array('string', '_pattern' => '#[a-z0-9,]*#');
+$meta['right_sidebar_content'] = array('multicheckbox', '_choices' => array('main','toc','user','group','namespace','toolbox','index','trace','extra'));
+$meta['search'] = array('multichoice', '_choices' => array('left', 'right'));
+$meta['closedwiki'] = array('onoff');
+$meta['hideactions'] = array('onoff');
+//Setup vim:ts=2:sw=2:
+?>