Skip to content

Commit

Permalink
[codestyle] admin components xml files (#15920)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
brianteeman authored and wilsonge committed May 31, 2017
1 parent ae7f3a4 commit 6c66636
Show file tree
Hide file tree
Showing 68 changed files with 2,257 additions and 1,519 deletions.
97 changes: 60 additions & 37 deletions administrator/components/com_admin/models/forms/profile.xml
Original file line number Diff line number Diff line change
@@ -1,46 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<form>
<fieldset name="user_details">
<field name="name" type="text"
description="COM_ADMIN_USER_FIELD_NAME_DESC"
<field
name="name"
type="text"
label="COM_ADMIN_USER_HEADING_NAME"
description="COM_ADMIN_USER_FIELD_NAME_DESC"
required="true"
size="30"
/>

<field name="username" type="text"
description="COM_ADMIN_USER_FIELD_USERNAME_DESC"
<field
name="username"
type="text"
label="COM_ADMIN_USER_FIELD_USERNAME_LABEL"
description="COM_ADMIN_USER_FIELD_USERNAME_DESC"
required="true"
size="30"
/>

<field name="password2" type="password"
<field
name="password2"
type="password"
label="JGLOBAL_PASSWORD"
description="COM_ADMIN_USER_FIELD_PASSWORD_DESC"
autocomplete="off"
class="validate-password"
description="COM_ADMIN_USER_FIELD_PASSWORD_DESC"
field="password"
filter="raw"
label="JGLOBAL_PASSWORD"
message="COM_ADMIN_USER_FIELD_PASSWORD1_MESSAGE"
size="30"
validate="equals"
/>

<field name="password" type="password"
<field
name="password"
type="password"
label="COM_ADMIN_USER_FIELD_PASSWORD2_LABEL"
description="COM_ADMIN_USER_FIELD_PASSWORD2_DESC"
autocomplete="off"
class="validate-password"
description="COM_ADMIN_USER_FIELD_PASSWORD2_DESC"
filter="raw"
label="COM_ADMIN_USER_FIELD_PASSWORD2_LABEL"
size="30"
validate="password"
/>

<field name="email" type="email"
class="validate-email"
description="COM_ADMIN_USER_FIELD_EMAIL_DESC"
<field
name="email"
type="email"
label="JGLOBAL_EMAIL"
description="COM_ADMIN_USER_FIELD_EMAIL_DESC"
class="validate-email"
required="true"
size="30"
validate="email"
Expand All @@ -49,9 +59,9 @@
<field
name="registerDate"
type="calendar"
class="readonly"
label="COM_ADMIN_USER_FIELD_REGISTERDATE_LABEL"
description="COM_ADMIN_USER_FIELD_REGISTERDATE_DESC"
class="readonly"
readonly="true"
translateformat="true"
showtime="true"
Expand All @@ -62,9 +72,9 @@
<field
name="lastvisitDate"
type="calendar"
class="readonly"
label="COM_ADMIN_USER_FIELD_LASTVISIT_LABEL"
description="COM_ADMIN_USER_FIELD_LASTVISIT_DESC"
class="readonly"
readonly="true"
translateformat="true"
showtime="true"
Expand All @@ -75,13 +85,13 @@
<field
name="id"
type="text"
class="readonly"
label="JGLOBAL_FIELD_ID_LABEL"
description ="JGLOBAL_FIELD_ID_DESC"
description="JGLOBAL_FIELD_ID_DESC"
class="readonly"
default="0"
readonly="true"
filter="unset"
/>
/>

</fieldset>

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

<field name="admin_style" type="templatestyle"
client="administrator"
description="COM_ADMIN_USER_FIELD_BACKEND_TEMPLATE_DESC"
<field
name="admin_style"
type="templatestyle"
label="COM_ADMIN_USER_FIELD_BACKEND_TEMPLATE_LABEL"
>
description="COM_ADMIN_USER_FIELD_BACKEND_TEMPLATE_DESC"
client="administrator"
>
<option value="">JOPTION_USE_DEFAULT</option>
</field>

<field name="admin_language" type="language"
client="administrator"
description="COM_ADMIN_USER_FIELD_BACKEND_LANGUAGE_DESC"
<field
name="admin_language"
type="language"
label="COM_ADMIN_USER_FIELD_BACKEND_LANGUAGE_LABEL"
>
description="COM_ADMIN_USER_FIELD_BACKEND_LANGUAGE_DESC"
client="administrator"
>
<option value="">JOPTION_USE_DEFAULT</option>
</field>

<field name="language" type="language"
client="site"
description="COM_ADMIN_USER_FIELD_FRONTEND_LANGUAGE_DESC"
<field
name="language"
type="language"
label="COM_ADMIN_USER_FIELD_FRONTEND_LANGUAGE_LABEL"
>
description="COM_ADMIN_USER_FIELD_FRONTEND_LANGUAGE_DESC"
client="site"
>
<option value="">JOPTION_USE_DEFAULT</option>
</field>

<field name="editor" type="plugins" folder="editors"
description="COM_ADMIN_USER_FIELD_EDITOR_DESC"
<field
name="editor"
type="plugins"
label="COM_ADMIN_USER_FIELD_EDITOR_LABEL"
>
description="COM_ADMIN_USER_FIELD_EDITOR_DESC"
folder="editors"
>
<option value="">JOPTION_USE_DEFAULT</option>
</field>

<field name="helpsite" type="helpsite"
<field
name="helpsite"
type="helpsite"
label="COM_ADMIN_USER_FIELD_HELPSITE_LABEL"
description="COM_ADMIN_USER_FIELD_HELPSITE_DESC"
>
>
<option value="">JOPTION_USE_DEFAULT</option>
</field>

<field name="timezone" type="timezone"
<field
name="timezone"
type="timezone"
label="COM_ADMIN_USER_FIELD_TIMEZONE_LABEL"
description="COM_ADMIN_USER_FIELD_TIMEZONE_DESC"
>
>
<option value="">JOPTION_USE_DEFAULT</option>
</field>
</fieldset>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
type="itemlanguage"
label="COM_ASSOCIATIONS_ITEM_FIELD_LANGUAGE_LABEL"
description="COM_ASSOCIATIONS_ITEM_FIELD_LANGUAGE_DESC"
>
>
<option value="">COM_ASSOCIATIONS_SELECT_TARGET_LANGUAGE</option>
</field>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
description="COM_ASSOCIATIONS_COMPONENT_SELECTOR_DESC"
filtermode="selector"
onchange="jQuery('select[id^=\'filter_\']').val('');jQuery('select[id^=\'list_\']').val('');this.form.submit();"
>
>
<option value="">COM_ASSOCIATIONS_FILTER_SELECT_ITEM_TYPE</option>
</field>

<field
name="language"
type="contentlanguage"
label="JOPTION_FILTER_LANGUAGE"
filtermode="selector"
description="JOPTION_FILTER_LANGUAGE_DESC"
filtermode="selector"
onchange="this.form.submit();"
>
>
<option value="">JOPTION_SELECT_LANGUAGE</option>
</field>

Expand All @@ -37,7 +37,7 @@
label="JOPTION_FILTER_PUBLISHED"
description="JOPTION_FILTER_PUBLISHED_DESC"
onchange="this.form.submit();"
>
>
<option value="">JOPTION_SELECT_PUBLISHED</option>
</field>

Expand All @@ -49,7 +49,7 @@
published="0,1,2"
extension="dynamic"
onchange="this.form.submit();"
>
>
<option value="">JOPTION_SELECT_CATEGORY</option>
</field>

Expand All @@ -60,7 +60,7 @@
description="COM_ASSOCIATIONS_FILTER_MENUTYPE_DESC"
clientid="0"
onchange="this.form.submit();"
>
>
<option value="">COM_ASSOCIATIONS_SELECT_MENU</option>
</field>

Expand All @@ -70,7 +70,7 @@
label="JOPTION_FILTER_ACCESS"
description="JOPTION_FILTER_ACCESS_DESC"
onchange="this.form.submit();"
>
>
<option value="">JOPTION_SELECT_ACCESS</option>
</field>

Expand All @@ -83,7 +83,7 @@
last="10"
step="1"
onchange="this.form.submit();"
>
>
<option value="">JOPTION_SELECT_MAX_LEVELS</option>
</field>
</fields>
Expand All @@ -94,7 +94,7 @@
type="list"
default="id ASC"
onchange="this.form.submit();"
>
>
<option value="">JGLOBAL_SORT_BY</option>
<option value="state ASC">JSTATUS_ASC</option>
<option value="state DESC">JSTATUS_DESC</option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<field
name="basename"
type="text"
size="40"
label="COM_BANNERS_FIELD_BASENAME_LABEL"
size="40"
/>

<field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
label="COM_CATEGORIES_CHOOSE_COMPONENT_LABEL"
description="COM_CATEGORIES_CHOOSE_COMPONENT_DESC"
required="true"
>
>
<option value="">COM_MENUS_OPTION_SELECT_COMPONENT</option>
</field>
<field
Expand Down
Loading

0 comments on commit 6c66636

Please sign in to comment.