1<?php
2
3/**
4 * Options for the gallery plugin
5 *
6 * @author Dmitry Baikov <dsbaikov@gmail.com>
7 */
8
9use dokuwiki\plugin\gallery\classes\Options;
10
11$meta['thumbnail_width'] = array('numeric');
12$meta['thumbnail_height'] = array('numeric');
13$meta['image_width'] = array('numeric');
14$meta['image_height'] = array('numeric');
15$meta['cols'] = array('numeric');
16
17$meta['sort'] = array(
18    'multichoice',
19    '_choices' => array(
20        Options::SORT_FILE,
21        Options::SORT_CTIME,
22        Options::SORT_MTIME,
23        Options::SORT_TITLE,
24        Options::SORT_RANDOM,
25    )
26);
27$meta['options'] = array('multicheckbox', '_choices' => array(
28    'cache',
29    'crop',
30    'direct',
31    'lightbox',
32    'recursive',
33    'reverse',
34    'showcaption',
35    'showname',
36    'showtitle',
37));
38