1<?php
2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
3//
4// All Rights Reserved. See copyright.txt for details and a complete list of authors.
5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
6// $Id$
7
8function prefs_image_list()
9{
10	return [
11		'image_responsive_class' => [
12			'name' => tra('Default for img-fluid class used in the IMG plugin'),
13			'description' => tra('Default option for whether an image produced with the IMG plugin has the img-fluid class - a plugin parameter allows this to be overridden'),
14			'type' => 'flag',
15			'default' => 'y',
16		],
17		'image_galleries_comments_per_page' => [
18			'name' => tra('Default number of comments per page'),
19			'type' => 'text',
20			'units' => tra('comments'),
21			'default' => 10,
22		],
23		'image_galleries_comments_default_order' => [
24			'name' => tra('Default order of comments'),
25			'type' => 'list',
26			'options' => [
27				'commentDate_desc' => tra('Newest first'),
28				'commentDate_asc' => tra('Oldest first'),
29				'points_desc' => tra('Points'),
30			],
31			'default' => 'points_desc',
32		],
33	];
34}
35