@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | 'Root.UserManagement', |
43 | 43 | TreeDropdownField::create( |
44 | 44 | 'CustomerGroupID', |
45 | - _t(__CLASS__ . '.CustomerGroup', 'Group to add new customers to'), |
|
45 | + _t(__CLASS__.'.CustomerGroup', 'Group to add new customers to'), |
|
46 | 46 | Group::class |
47 | 47 | ) |
48 | 48 | ); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | 'Root.UserManagement', |
51 | 51 | TreeDropdownField::create( |
52 | 52 | 'LoginUrlID', |
53 | - _t(__CLASS__ . '.LoginUrl', 'Login Url'), |
|
53 | + _t(__CLASS__.'.LoginUrl', 'Login Url'), |
|
54 | 54 | SiteTree::class |
55 | 55 | ) |
56 | 56 | ); |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | 'Root.UserManagement', |
59 | 59 | TreeDropdownField::create( |
60 | 60 | 'LoginCallBackUrlID', |
61 | - _t(__CLASS__ . '.LoginCallBackUrl', 'Login Call Back Url'), |
|
61 | + _t(__CLASS__.'.LoginCallBackUrl', 'Login Call Back Url'), |
|
62 | 62 | SiteTree::class |
63 | 63 | ) |
64 | 64 | ); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | 'Root.UserManagement', |
67 | 67 | TreeDropdownField::create( |
68 | 68 | 'LostPasswordUrlID', |
69 | - _t(__CLASS__ . '.LostPasswordUrl', 'Lost Password Url'), |
|
69 | + _t(__CLASS__.'.LostPasswordUrl', 'Lost Password Url'), |
|
70 | 70 | SiteTree::class |
71 | 71 | ) |
72 | 72 | ); |
@@ -74,21 +74,21 @@ discard block |
||
74 | 74 | 'Root.UserManagement', |
75 | 75 | TextareaField::create( |
76 | 76 | 'ProfileUpdateSuccess', |
77 | - _t(__CLASS__ . '.ProfileUpdateSuccess', 'Profile update Success Message') |
|
77 | + _t(__CLASS__.'.ProfileUpdateSuccess', 'Profile update Success Message') |
|
78 | 78 | ) |
79 | 79 | ); |
80 | 80 | $fields->addFieldToTab( |
81 | 81 | 'Root.UserManagement', |
82 | 82 | TextareaField::create( |
83 | 83 | 'ProfileUpdatError', |
84 | - _t(__CLASS__ . '.ProfileUpdatError', 'Profile update Error Message') |
|
84 | + _t(__CLASS__.'.ProfileUpdatError', 'Profile update Error Message') |
|
85 | 85 | ) |
86 | 86 | ); |
87 | 87 | $fields->addFieldToTab( |
88 | 88 | 'Root.UserManagement', |
89 | 89 | CheckboxField::create( |
90 | 90 | 'EnableSpamProtection', |
91 | - _t(__CLASS__ . '.EnableSpamProtection', 'Enable Spam Protection') |
|
91 | + _t(__CLASS__.'.EnableSpamProtection', 'Enable Spam Protection') |
|
92 | 92 | ) |
93 | 93 | ); |
94 | 94 | |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | public function getExportFieldNames() |
186 | 186 | { |
187 | 187 | $memberFields = Member::create()->getFrontEndFields()->dataFieldNames(); |
188 | - $memberFields = array_diff($memberFields, ["FirstName", "Surname", "Email", "TempIDHash", "TempIDExpired", "AutoLoginHash", "AutoLoginExpired","PasswordEncryption","Salt","Locale", "FailedLoginCount", "LockedOutUntil", "Password", "PasswordExpiry"]); |
|
188 | + $memberFields = array_diff($memberFields, ["FirstName", "Surname", "Email", "TempIDHash", "TempIDExpired", "AutoLoginHash", "AutoLoginExpired", "PasswordEncryption", "Salt", "Locale", "FailedLoginCount", "LockedOutUntil", "Password", "PasswordExpiry"]); |
|
189 | 189 | return array_combine($memberFields, $memberFields); |
190 | 190 | } |
191 | 191 |