diff options
Diffstat (limited to 'platform/www/lib/plugins/blog/conf')
-rw-r--r-- | platform/www/lib/plugins/blog/conf/default.php | 18 | ||||
-rw-r--r-- | platform/www/lib/plugins/blog/conf/metadata.php | 22 |
2 files changed, 40 insertions, 0 deletions
diff --git a/platform/www/lib/plugins/blog/conf/default.php b/platform/www/lib/plugins/blog/conf/default.php new file mode 100644 index 0000000..80fb610 --- /dev/null +++ b/platform/www/lib/plugins/blog/conf/default.php @@ -0,0 +1,18 @@ +<?php +/** + * Options for the Blog Plugin + */ +$conf['namespace'] = 'blog'; // default location for blog entries +$conf['formposition'] = 'bottom'; // position of new entry form +$conf['newentrytitle'] = ''; // Title text for the 'new entry' form +$conf['dateprefix'] = ''; // prefix date to new entry IDs +$conf['sortkey'] = 'cdate'; // sort key for blog entries +$conf['sortorder'] = 'descending'; // ascending or descending + +$conf['showhistogram'] = 1; // show histogramm in archive +$conf['max_months'] = 100; // max months to show in the histogram +$conf['histogram_height'] = 50; // height of the histogram in pixels + +$conf['excluded_pages'] = '!^blog:\d{4}(:\d{2})?$!'; // regex for pages to exclude from bloglisting + +// vim:ts=4:sw=4:et:enc=utf-8: diff --git a/platform/www/lib/plugins/blog/conf/metadata.php b/platform/www/lib/plugins/blog/conf/metadata.php new file mode 100644 index 0000000..822d3c4 --- /dev/null +++ b/platform/www/lib/plugins/blog/conf/metadata.php @@ -0,0 +1,22 @@ +<?php +/** + * Metadata for configuration manager plugin + * Additions for the blog plugin + * + * @author Esther Brunner <wikidesign@gmail.com> + */ +$meta['namespace'] = array('string'); +$meta['formposition'] = array('multichoice', + '_choices' => array('top', 'bottom', 'none')); +$meta['newentrytitle'] = array('string'); +$meta['dateprefix'] = array('string'); +$meta['sortkey'] = array('multichoice', + '_choices' => array('cdate', 'mdate', 'pagename', 'id', 'title')); +$meta['sortorder'] = array('multichoice', + '_choices' => array('ascending', 'descending')); +$meta['excluded_pages'] = array('string'); + +$meta['showhistogram'] = array('onoff'); +$meta['max_months'] = array('numeric'); +$meta['histogram_height'] = array('numeric'); +// vim:ts=4:sw=4:et:enc=utf-8: |