Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion administrator/language/en-GB/plg_user_profile.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL="Address 1"
PLG_USER_PROFILE_FIELD_ADDRESS2_LABEL="Address 2"
PLG_USER_PROFILE_FIELD_CITY_LABEL="City"
PLG_USER_PROFILE_FIELD_COUNTRY_LABEL="Country"
PLG_USER_PROFILE_FIELD_DOB_DESCRIPTION="Year-Month-Day, eg 2019-01-27." ; Adapt to the format you entered in the 'DATE_FORMAT_CALENDAR_DATE'
PLG_USER_PROFILE_FIELD_DOB_HINT="YYYY-MM-DD" ; Adapt to the format you entered in the 'DATE_FORMAT_CALENDAR_DATE'
PLG_USER_PROFILE_FIELD_DOB_LABEL="Date of Birth"
PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_LABEL="Favourite Book"
PLG_USER_PROFILE_FIELD_NAME_PROFILE_REQUIRE_USER="User profile fields for profile edit form"
Expand All @@ -27,5 +29,4 @@ PLG_USER_PROFILE_FILL_FIELD_DESC_SITE="If required, please fill this field."
PLG_USER_PROFILE_OPTION_AGREE="Agree"
PLG_USER_PROFILE_OPTION_DO_NOT_AGREE="I do not agree"
PLG_USER_PROFILE_SLIDER_LABEL="User Profile"
PLG_USER_PROFILE_SPACER_DOB="The date of birth entered should use the format Year-Month-Day, eg 2019-01-27." ; Adapt to the format you entered in the 'DATE_FORMAT_CALENDAR_DATE'
PLG_USER_PROFILE_XML_DESCRIPTION="User Profile Plugin"
24 changes: 0 additions & 24 deletions layouts/plugins/user/profile/fields/dob.php

This file was deleted.

5 changes: 3 additions & 2 deletions plugins/user/profile/forms/profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@

<field
name="dob"
type="dob"
type="calendar"
label="PLG_USER_PROFILE_FIELD_DOB_LABEL"
info="PLG_USER_PROFILE_SPACER_DOB"
description="PLG_USER_PROFILE_FIELD_DOB_DESCRIPTION"
hint="PLG_USER_PROFILE_FIELD_DOB_HINT"
translateformat="true"
showtime="false"
filter="server_utc"
Expand Down
67 changes: 0 additions & 67 deletions plugins/user/profile/src/Field/DobField.php

This file was deleted.