mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
bfojcapell: Added Lang field to store user preferred language
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42124 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
835574ffe4
commit
44d5aef37a
@ -24,7 +24,8 @@ class Member extends DataObject {
|
||||
'AutoLoginExpired' => 'Datetime',
|
||||
'BlacklistedEmail' => 'Boolean',
|
||||
'PasswordEncryption' => "Enum('none', 'none')",
|
||||
'Salt' => "Varchar(50)"
|
||||
'Salt' => "Varchar(50)",
|
||||
'Lang' => "Varchar(12)"
|
||||
);
|
||||
|
||||
static $belongs_many_many = array(
|
||||
@ -710,7 +711,8 @@ class Member extends DataObject {
|
||||
new HeaderField( "User Details" ),
|
||||
new TextField("Email", "Email"),
|
||||
/*new TextField("Password", "Password")*/
|
||||
new PasswordField("Password", "Password")
|
||||
new PasswordField("Password", "Password"),
|
||||
new LanguageDropdownField("Lang","Language")
|
||||
//new TextareaField("Address","Address"),
|
||||
//new TextField("JobTitle", "Job Title"),
|
||||
//new TextField( "Organisation", "Organisation" ),
|
||||
|
Loading…
Reference in New Issue
Block a user