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_username_list()
9{
10	return [
11		'username_pattern' => [
12			'name' => tra('Username pattern'),
13			'description' => tr('This regex pattern requires or forbids the use of certain characters for username. For example, to add Hebrew, use: /&#94;&#91; \'\-_a-zA-Z0-9@\.א-ת]*$/ or, for Chinese, use: /&#94;&#91; \'\-_a-zA-Z0-9@\.\x00-\xff]*$/'),
14			'type' => 'text',
15			'size' => 25,
16			'perspective' => false,
17			'default' => '/^[ \'\-_a-zA-Z0-9@\.]*$/',
18		],
19	];
20}
21