forked from framontb/plg_user_usernamecheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusernamecheck.xml
92 lines (88 loc) · 2.94 KB
/
usernamecheck.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.1" type="plugin" group="user" method="upgrade">
<name>plg_user_usernamecheck</name>
<author>framontb</author>
<creationDate>April 2016</creationDate>
<copyright>Copyright (C) 2005 - 2016 framontb. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://github.com/framontb/plg_user_usernamecheck</authorUrl>
<version>3.0.0</version>
<description>PLG_USER_USERNAMECHECK_XML_DESCRIPTION</description>
<files>
<filename plugin="usernamecheck">usernamecheck.php</filename>
</files>
<languages>
<language tag="en-GB">en-GB.plg_user_usernamecheck.ini</language>
<language tag="en-GB">en-GB.plg_user_usernamecheck.sys.ini</language>
<language tag="nl-NL">nl-NL.plg_user_usernamecheck.ini</language>
<language tag="nl-NL">nl-NL.plg_user_usernamecheck.sys.ini</language>
</languages>
<config>
<fields name="params">
<fieldset name="basic">
<field
name="minimum_length_username"
type="integer"
label="PLG_USER_USERNAMECHECK_FIELD_USERNAME_MINNUMCHARS_LABEL"
description="PLG_USER_USERNAMECHECK_FIELD_USERNAME_MINNUMCHARS_DESC"
first="0"
last="99"
step="1">
</field>
<field
name="maximum_length_username"
type="integer"
label="PLG_USER_USERNAMECHECK_FIELD_USERNAME_MAXNUMCHARS_LABEL"
description="PLG_USER_USERNAMECHECK_FIELD_USERNAME_MAXNUMCHARS_DESC"
first="0"
last="99"
step="1">
</field>
<field
name="allowed_chars_username_preset"
type="list"
label="PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_LABEL"
description="PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_DESC"
filter="integer"
defaut="0"
>
<option value="0">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_DISABLECHECK
</option>
<option value="1">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_CUSTOM_ALLOWED
</option>
<option value="2">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_CUSTOM_FORBIDDEN
</option>
<option value="3">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_CUSTOM_REGEXP
</option>
<option value="4">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_ALPHANUMERIC
</option>
<option value="5">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_LATIN
</option>
<option value="6">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_UNICODE_HIGHLY_RESTRICTIVE
</option>
<option value="7">
PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSPRESET_OPTION_EMAIL
</option>
</field>
<field
name="custom_chars_username"
type="textarea"
label="PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSET_LABEL"
description="PLG_USER_USERNAMECHECK_FIELD_USERNAME_CHARSET_DESC"
rows="4"
cols="50"
filter="string"
>
</field>
</fieldset>
</fields>
</config>
</extension>