Skip to content

Commit 6c66636

Browse files
brianteemanwilsonge
authored andcommitted
[codestyle] admin components xml files (joomla#15920)
* codestyle * code style * codestyle * codestyle * codestyle * thanks @wojsmol * corrections - thanks @Quy * corrections - thanks @Quy * oops * make @Quy happy * Update article.xml * Remove space * Update config.xml (#14) * Update filter.xml (#15) * Update config.xml (#16) * Update profile.xml (#17) * Update application.xml (#18) * Update article.xml (#19) * Update filter_articles.xml (#20) * Update config.xml (#24) * Update config.xml (#23) * Update filter_fields.xml (#22) * Update filter_featured.xml (#21) * Update override.xml (#25) * Update config.xml * Update config.xml (#26) * Update itemadmin_alias.xml (#30) * Update itemadmin.xml (#29) * Update item.xml (#27) * Update item_alias.xml (#28) * Update itemadmin_url.xml (#31) * Update module.xml (#32) * Update plugin.xml (#33) * Update config.xml (#34) * Update link.xml (#35) * Update config.xml (#36) * Update style.xml (#38) * Update config.xml (#37) * Update note.xml (#42) * Update group.xml (#41) * Update filter_debuggroup.xml (#40) * Update config.xml (#39) * corrections for @andrepereiradasilva * gotya
1 parent ae7f3a4 commit 6c66636

File tree

68 files changed

+2257
-1519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2257
-1519
lines changed

administrator/components/com_admin/models/forms/profile.xml

Lines changed: 60 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,56 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<form>
33
<fieldset name="user_details">
4-
<field name="name" type="text"
5-
description="COM_ADMIN_USER_FIELD_NAME_DESC"
4+
<field
5+
name="name"
6+
type="text"
67
label="COM_ADMIN_USER_HEADING_NAME"
8+
description="COM_ADMIN_USER_FIELD_NAME_DESC"
79
required="true"
810
size="30"
911
/>
1012

11-
<field name="username" type="text"
12-
description="COM_ADMIN_USER_FIELD_USERNAME_DESC"
13+
<field
14+
name="username"
15+
type="text"
1316
label="COM_ADMIN_USER_FIELD_USERNAME_LABEL"
17+
description="COM_ADMIN_USER_FIELD_USERNAME_DESC"
1418
required="true"
1519
size="30"
1620
/>
1721

18-
<field name="password2" type="password"
22+
<field
23+
name="password2"
24+
type="password"
25+
label="JGLOBAL_PASSWORD"
26+
description="COM_ADMIN_USER_FIELD_PASSWORD_DESC"
1927
autocomplete="off"
2028
class="validate-password"
21-
description="COM_ADMIN_USER_FIELD_PASSWORD_DESC"
2229
field="password"
2330
filter="raw"
24-
label="JGLOBAL_PASSWORD"
2531
message="COM_ADMIN_USER_FIELD_PASSWORD1_MESSAGE"
2632
size="30"
2733
validate="equals"
2834
/>
2935

30-
<field name="password" type="password"
36+
<field
37+
name="password"
38+
type="password"
39+
label="COM_ADMIN_USER_FIELD_PASSWORD2_LABEL"
40+
description="COM_ADMIN_USER_FIELD_PASSWORD2_DESC"
3141
autocomplete="off"
3242
class="validate-password"
33-
description="COM_ADMIN_USER_FIELD_PASSWORD2_DESC"
3443
filter="raw"
35-
label="COM_ADMIN_USER_FIELD_PASSWORD2_LABEL"
3644
size="30"
3745
validate="password"
3846
/>
3947

40-
<field name="email" type="email"
41-
class="validate-email"
42-
description="COM_ADMIN_USER_FIELD_EMAIL_DESC"
48+
<field
49+
name="email"
50+
type="email"
4351
label="JGLOBAL_EMAIL"
52+
description="COM_ADMIN_USER_FIELD_EMAIL_DESC"
53+
class="validate-email"
4454
required="true"
4555
size="30"
4656
validate="email"
@@ -49,9 +59,9 @@
4959
<field
5060
name="registerDate"
5161
type="calendar"
52-
class="readonly"
5362
label="COM_ADMIN_USER_FIELD_REGISTERDATE_LABEL"
5463
description="COM_ADMIN_USER_FIELD_REGISTERDATE_DESC"
64+
class="readonly"
5565
readonly="true"
5666
translateformat="true"
5767
showtime="true"
@@ -62,9 +72,9 @@
6272
<field
6373
name="lastvisitDate"
6474
type="calendar"
65-
class="readonly"
6675
label="COM_ADMIN_USER_FIELD_LASTVISIT_LABEL"
6776
description="COM_ADMIN_USER_FIELD_LASTVISIT_DESC"
77+
class="readonly"
6878
readonly="true"
6979
translateformat="true"
7080
showtime="true"
@@ -75,13 +85,13 @@
7585
<field
7686
name="id"
7787
type="text"
78-
class="readonly"
7988
label="JGLOBAL_FIELD_ID_LABEL"
80-
description ="JGLOBAL_FIELD_ID_DESC"
89+
description="JGLOBAL_FIELD_ID_DESC"
90+
class="readonly"
8191
default="0"
8292
readonly="true"
8393
filter="unset"
84-
/>
94+
/>
8595

8696
</fieldset>
8797

@@ -90,48 +100,61 @@
90100
<!-- Basic user account settings. -->
91101
<fieldset name="settings" label="COM_ADMIN_USER_SETTINGS_FIELDSET_LABEL">
92102

93-
<field name="admin_style" type="templatestyle"
94-
client="administrator"
95-
description="COM_ADMIN_USER_FIELD_BACKEND_TEMPLATE_DESC"
103+
<field
104+
name="admin_style"
105+
type="templatestyle"
96106
label="COM_ADMIN_USER_FIELD_BACKEND_TEMPLATE_LABEL"
97-
>
107+
description="COM_ADMIN_USER_FIELD_BACKEND_TEMPLATE_DESC"
108+
client="administrator"
109+
>
98110
<option value="">JOPTION_USE_DEFAULT</option>
99111
</field>
100112

101-
<field name="admin_language" type="language"
102-
client="administrator"
103-
description="COM_ADMIN_USER_FIELD_BACKEND_LANGUAGE_DESC"
113+
<field
114+
name="admin_language"
115+
type="language"
104116
label="COM_ADMIN_USER_FIELD_BACKEND_LANGUAGE_LABEL"
105-
>
117+
description="COM_ADMIN_USER_FIELD_BACKEND_LANGUAGE_DESC"
118+
client="administrator"
119+
>
106120
<option value="">JOPTION_USE_DEFAULT</option>
107121
</field>
108122

109-
<field name="language" type="language"
110-
client="site"
111-
description="COM_ADMIN_USER_FIELD_FRONTEND_LANGUAGE_DESC"
123+
<field
124+
name="language"
125+
type="language"
112126
label="COM_ADMIN_USER_FIELD_FRONTEND_LANGUAGE_LABEL"
113-
>
127+
description="COM_ADMIN_USER_FIELD_FRONTEND_LANGUAGE_DESC"
128+
client="site"
129+
>
114130
<option value="">JOPTION_USE_DEFAULT</option>
115131
</field>
116132

117-
<field name="editor" type="plugins" folder="editors"
118-
description="COM_ADMIN_USER_FIELD_EDITOR_DESC"
133+
<field
134+
name="editor"
135+
type="plugins"
119136
label="COM_ADMIN_USER_FIELD_EDITOR_LABEL"
120-
>
137+
description="COM_ADMIN_USER_FIELD_EDITOR_DESC"
138+
folder="editors"
139+
>
121140
<option value="">JOPTION_USE_DEFAULT</option>
122141
</field>
123142

124-
<field name="helpsite" type="helpsite"
143+
<field
144+
name="helpsite"
145+
type="helpsite"
125146
label="COM_ADMIN_USER_FIELD_HELPSITE_LABEL"
126147
description="COM_ADMIN_USER_FIELD_HELPSITE_DESC"
127-
>
148+
>
128149
<option value="">JOPTION_USE_DEFAULT</option>
129150
</field>
130151

131-
<field name="timezone" type="timezone"
152+
<field
153+
name="timezone"
154+
type="timezone"
132155
label="COM_ADMIN_USER_FIELD_TIMEZONE_LABEL"
133156
description="COM_ADMIN_USER_FIELD_TIMEZONE_DESC"
134-
>
157+
>
135158
<option value="">JOPTION_USE_DEFAULT</option>
136159
</field>
137160
</fieldset>

administrator/components/com_associations/models/forms/association.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
type="itemlanguage"
77
label="COM_ASSOCIATIONS_ITEM_FIELD_LANGUAGE_LABEL"
88
description="COM_ASSOCIATIONS_ITEM_FIELD_LANGUAGE_DESC"
9-
>
9+
>
1010
<option value="">COM_ASSOCIATIONS_SELECT_TARGET_LANGUAGE</option>
1111
</field>
1212

administrator/components/com_associations/models/forms/filter_associations.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
description="COM_ASSOCIATIONS_COMPONENT_SELECTOR_DESC"
88
filtermode="selector"
99
onchange="jQuery('select[id^=\'filter_\']').val('');jQuery('select[id^=\'list_\']').val('');this.form.submit();"
10-
>
10+
>
1111
<option value="">COM_ASSOCIATIONS_FILTER_SELECT_ITEM_TYPE</option>
1212
</field>
1313

1414
<field
1515
name="language"
1616
type="contentlanguage"
1717
label="JOPTION_FILTER_LANGUAGE"
18-
filtermode="selector"
1918
description="JOPTION_FILTER_LANGUAGE_DESC"
19+
filtermode="selector"
2020
onchange="this.form.submit();"
21-
>
21+
>
2222
<option value="">JOPTION_SELECT_LANGUAGE</option>
2323
</field>
2424

@@ -37,7 +37,7 @@
3737
label="JOPTION_FILTER_PUBLISHED"
3838
description="JOPTION_FILTER_PUBLISHED_DESC"
3939
onchange="this.form.submit();"
40-
>
40+
>
4141
<option value="">JOPTION_SELECT_PUBLISHED</option>
4242
</field>
4343

@@ -49,7 +49,7 @@
4949
published="0,1,2"
5050
extension="dynamic"
5151
onchange="this.form.submit();"
52-
>
52+
>
5353
<option value="">JOPTION_SELECT_CATEGORY</option>
5454
</field>
5555

@@ -60,7 +60,7 @@
6060
description="COM_ASSOCIATIONS_FILTER_MENUTYPE_DESC"
6161
clientid="0"
6262
onchange="this.form.submit();"
63-
>
63+
>
6464
<option value="">COM_ASSOCIATIONS_SELECT_MENU</option>
6565
</field>
6666

@@ -70,7 +70,7 @@
7070
label="JOPTION_FILTER_ACCESS"
7171
description="JOPTION_FILTER_ACCESS_DESC"
7272
onchange="this.form.submit();"
73-
>
73+
>
7474
<option value="">JOPTION_SELECT_ACCESS</option>
7575
</field>
7676

@@ -83,7 +83,7 @@
8383
last="10"
8484
step="1"
8585
onchange="this.form.submit();"
86-
>
86+
>
8787
<option value="">JOPTION_SELECT_MAX_LEVELS</option>
8888
</field>
8989
</fields>
@@ -94,7 +94,7 @@
9494
type="list"
9595
default="id ASC"
9696
onchange="this.form.submit();"
97-
>
97+
>
9898
<option value="">JGLOBAL_SORT_BY</option>
9999
<option value="state ASC">JSTATUS_ASC</option>
100100
<option value="state DESC">JSTATUS_DESC</option>

administrator/components/com_banners/models/forms/download.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
<field
1919
name="basename"
2020
type="text"
21-
size="40"
2221
label="COM_BANNERS_FIELD_BASENAME_LABEL"
22+
size="40"
2323
/>
2424

2525
<field

administrator/components/com_categories/views/category/tmpl/edit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
label="COM_CATEGORIES_CHOOSE_COMPONENT_LABEL"
1414
description="COM_CATEGORIES_CHOOSE_COMPONENT_DESC"
1515
required="true"
16-
>
16+
>
1717
<option value="">COM_MENUS_OPTION_SELECT_COMPONENT</option>
1818
</field>
1919
<field

0 commit comments

Comments
 (0)