joomla_test/plugins/user/profile/profiles/profile.xml

125 lines
2.7 KiB
XML
Raw Normal View History

2020-01-02 22:20:31 +07:00
<?xml version="1.0" encoding="utf-8"?>
<form>
<fields name="profile">
<fieldset name="profile"
label="PLG_USER_PROFILE_SLIDER_LABEL"
>
<field
name="address1"
type="text"
id="address1"
description="PLG_USER_PROFILE_FIELD_ADDRESS1_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL"
size="30"
/>
<field
name="address2"
type="text"
id="address2"
description="PLG_USER_PROFILE_FIELD_ADDRESS2_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_ADDRESS2_LABEL"
size="30"
/>
<field
name="city"
type="text"
id="city"
description="PLG_USER_PROFILE_FIELD_CITY_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_CITY_LABEL"
size="30"
/>
<field
name="region"
type="text"
id="region"
description="PLG_USER_PROFILE_FIELD_REGION_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_REGION_LABEL"
size="30"
/>
<field
name="country"
type="text"
id="country"
description="PLG_USER_PROFILE_FIELD_COUNTRY_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_COUNTRY_LABEL"
size="30"
/>
<field
name="postal_code"
type="text"
id="postal_code"
description="PLG_USER_PROFILE_FIELD_POSTAL_CODE_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_POSTAL_CODE_LABEL"
size="30"
/>
<field
name="phone"
type="tel"
id="phone"
description="PLG_USER_PROFILE_FIELD_PHONE_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_PHONE_LABEL"
size="30"
/>
<field
name="website"
type="url"
id="website"
description="PLG_USER_PROFILE_FIELD_WEB_SITE_DESC"
filter="url"
label="PLG_USER_PROFILE_FIELD_WEB_SITE_LABEL"
size="30"
/>
<field
name="favoritebook"
type="text"
description="PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_DESC"
filter="string"
label="PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_LABEL"
size="30"
/>
<field
name="aboutme"
type="textarea"
description="PLG_USER_PROFILE_FIELD_ABOUT_ME_DESC"
label="PLG_USER_PROFILE_FIELD_ABOUT_ME_LABEL"
cols="30"
rows="5"
filter="safehtml"
/>
<field name="spacer" type="hidden" class="text"
label="PLG_USER_PROFILE_SPACER_DOB"
/>
<field
name="dob"
type="calendar"
label="PLG_USER_PROFILE_FIELD_DOB_LABEL"
description="PLG_USER_PROFILE_FIELD_DOB_DESC"
format="%Y-%m-%d"
/>
<field
name="tos"
type="tos"
default=""
label="PLG_USER_PROFILE_FIELD_TOS_LABEL"
description="PLG_USER_PROFILE_FIELD_TOS_DESC">
<option value="1">PLG_USER_PROFILE_OPTION_AGREE</option>
<option value="">JNO</option>
</field>
</fieldset>
</fields>
</form>