1<?php
2/**
3 * Metadata for txtconf manager plugin
4 * Based on Chris's Smith config.metatdata.php
5 */
6
7// ---------------[ settings for settings ]------------------------------
8$config['intro'] = 'intro_interwiki';     // which (type) config is this describing
9
10$config['format']  = 'txt';      // format of setting files, supported formats: php
11$config['varname'] = 'txtconf';  // name of the config variable, sans $
12
13// this string is written at the top of the rewritten settings file,
14// !! do not include any comment indicators !!
15// this value can be overriden when calling save_settings() method
16$config['heading'] = 'Dokuwiki\'s interwiki TxtConfiguration File - Local Settings';
17
18// ---------------[ setting files ]--------------------------------------
19// these values can be string expressions, they will be eval'd before use
20$file['local']     = 'DOKU_CONF."interwiki.local.conf"';          // mandatory (file doesn't have to exist)
21$file['default']   = 'DOKU_CONF."interwiki.conf"';                // optional
22$file['protected'] = '';  // optional
23
24// test value (FIXME, remove before publishing)
25//$meta['test']     = array('multichoice','_choices' => array(''));
26
27// --------------[ setting metadata ]------------------------------------
28// - any settings not mentioned will come after the last setting listed and
29//   will use the default class with no parameters
30
31$metemeta['key']    = array('text'); //Type of Txt config param Name/Key
32$metemeta['value']  = array('text'); //Type of Txt config param value
33