PageRenderTime 37ms CodeModel.GetById 30ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/components/com_users/models/forms/profile.xml

https://bitbucket.org/eternaware/joomus
XML | 72 lines | 65 code | 7 blank | 0 comment | 0 complexity | d156e885d508cff4e097c5c4390bbe49 MD5 | raw file
Possible License(s): LGPL-2.1
 1<?xml version="1.0" encoding="utf-8"?>
 2<form>
 3	<fieldset name="core"
 4		label="COM_USERS_PROFILE_DEFAULT_LABEL">
 5
 6		<field name="id" type="hidden"
 7			filter="integer"
 8		/>
 9
10		<field name="name" type="text"
11			description="COM_USERS_PROFILE_NAME_DESC"
12			filter="string"
13			label="COM_USERS_PROFILE_NAME_LABEL"
14			required="true"
15			size="30"
16		/>
17
18		<field name="username" type="text"
19			class="validate-username"
20			description="COM_USERS_DESIRED_USERNAME"
21			filter="username"
22			label="COM_USERS_PROFILE_USERNAME_LABEL"
23			message="COM_USERS_PROFILE_USERNAME_MESSAGE"
24			required="true"
25			size="30"
26			validate="username"
27		/>
28
29		<field name="password1" type="password"
30			autocomplete="off"
31			class="validate-password"
32			description="COM_USERS_DESIRED_PASSWORD"
33			field="password2"
34			filter="raw"
35			label="COM_USERS_PROFILE_PASSWORD1_LABEL"
36			message="COM_USERS_PROFILE_PASSWORD1_MESSAGE"
37			size="30"
38			validate="equals"
39		/>
40
41		<field name="password2" type="password"
42			autocomplete="off"
43			class="validate-password"
44			description="COM_USERS_PROFILE_PASSWORD2_DESC"
45			filter="raw"
46			label="COM_USERS_PROFILE_PASSWORD2_LABEL"
47			size="30"
48		/>
49
50		<field name="email1" type="email"
51			description="COM_USERS_PROFILE_EMAIL1_DESC"
52			filter="string"
53			label="COM_USERS_PROFILE_EMAIL1_LABEL"
54			message="COM_USERS_PROFILE_EMAIL1_MESSAGE"
55			required="true"
56			size="30"
57			unique="true"
58			validate="email"
59		/>
60
61		<field name="email2" type="email"
62			description="COM_USERS_PROFILE_EMAIL2_DESC"
63			field="email1"
64			filter="string"
65			label="COM_USERS_PROFILE_EMAIL2_LABEL"
66			message="COM_USERS_PROFILE_EMAIL2_MESSAGE"
67			required="true"
68			size="30"
69			validate="equals"
70		/>
71	</fieldset>
72</form>