mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed unnecessary headers from Member->getCMSFields()
This commit is contained in:
parent
f8b38e9adb
commit
87163d5bb6
@ -1133,17 +1133,7 @@ class Member extends DataObject {
|
||||
$password->setCanBeEmpty(true);
|
||||
if(!$this->ID) $password->showOnClick = false;
|
||||
$mainFields->replaceField('Password', $password);
|
||||
|
||||
$mainFields->insertBefore(
|
||||
new HeaderField('MemberDetailsHeader',_t('Member.PERSONALDETAILS', "Personal Details", PR_MEDIUM, 'Headline for formfields')),
|
||||
'FirstName'
|
||||
);
|
||||
|
||||
$mainFields->insertBefore(
|
||||
new HeaderField('MemberUserDetailsHeader',_t('Member.USERDETAILS', "User Details", PR_MEDIUM, 'Headline for formfields')),
|
||||
'Email'
|
||||
);
|
||||
|
||||
|
||||
$mainFields->replaceField('Locale', new DropdownField(
|
||||
"Locale",
|
||||
_t('Member.INTERFACELANG', "Interface Language", PR_MEDIUM, 'Language of the CMS'),
|
||||
|
Loading…
Reference in New Issue
Block a user