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_change_list()
9{
10	return [
11		'change_language' => [
12			'name' => tra('Users can choose the language of their interface'),
13			'description' => tra('Allow users to change the language of the menus and labels.'),
14			'type' => 'flag',
15			'dependencies' => [
16				'feature_multilingual',
17				'feature_userPreferences',
18			],
19			'default' => 'y',
20			'tags' => ['basic'],
21		],
22		'change_theme' => [
23			'name' => tra('Users can change theme'),
24			'warning' => tra('Users can override the theme with this setting.'),
25			'type' => 'flag',
26			'default' => 'n',
27		],
28		'change_password' => [
29			'name' => tra('Users can change their password'),
30			'description' => tra('Registered users can change their password from their User Preferences page. If not, passwords can be changed only by the admin.'),
31			'type' => 'flag',
32			'help' => 'User+Preferences',
33			'default' => 'y',
34			'tags' => ['basic'],
35		],
36	];
37}
38