### Eclipse Workspace Patch 1.0 #P SRC_TYPO3_trunk Index: typo3/sysext/lang/locallang_general.xml =================================================================== --- typo3/sysext/lang/locallang_general.xml (revision 8083) +++ typo3/sysext/lang/locallang_general.xml (working copy) @@ -28,10 +28,14 @@ + + + + Index: typo3/sysext/cms/ext_tables.sql =================================================================== --- typo3/sysext/cms/ext_tables.sql (revision 8083) +++ typo3/sysext/cms/ext_tables.sql (working copy) @@ -207,6 +207,8 @@ first_name varchar(50) DEFAULT '' NOT NULL, middle_name varchar(50) DEFAULT '' NOT NULL, last_name varchar(50) DEFAULT '' NOT NULL, + gender int(1) unsigned DEFAULT '0' NOT NULL, + birthday int(11) unsigned DEFAULT '0' NOT NULL, address varchar(255) DEFAULT '' NOT NULL, telephone varchar(20) DEFAULT '' NOT NULL, fax varchar(20) DEFAULT '' NOT NULL, Index: typo3/sysext/cms/tbl_cms.php =================================================================== --- typo3/sysext/cms/tbl_cms.php (revision 8083) +++ typo3/sysext/cms/tbl_cms.php (working copy) @@ -44,7 +44,7 @@ $TCA['fe_users'] = array( 'ctrl' => $TCA['fe_users']['ctrl'], 'interface' => array( - 'showRecordFieldList' => 'username,password,usergroup,lockToDomain,name,title,company,address,zip,city,country,email,www,telephone,fax,disable,starttime,endtime,lastlogin' + 'showRecordFieldList' => 'username,password,usergroup,lockToDomain,gender,name,birthday,title,company,address,zip,city,country,email,www,telephone,fax,disable,starttime,endtime,lastlogin' ), 'feInterface' => $TCA['fe_users']['feInterface'], 'columns' => array( @@ -89,6 +89,21 @@ 'softref' => 'substitute' ) ), + 'gender' => array( + 'exclude' => 1, + 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.gender', + 'config' => array( + 'type' => 'select', + 'size' => 1, + 'maxitems' => 1, + 'minitems' => 0, + 'items' => array( + array('LLL:EXT:lang/locallang_general.php:LGL.gender.I.0', '0'), + array('LLL:EXT:lang/locallang_general.php:LGL.gender.I.1', '1'), + array('LLL:EXT:lang/locallang_general.php:LGL.gender.I.2', '2'), + ) + ) + ), 'name' => array( 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.name', @@ -129,6 +144,18 @@ 'max' => '50' ) ), + 'birthday' => array( + 'exclude' => 1, + 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.birthday', + 'config' => array( + 'type' => 'input', + 'size' => '8', + 'max' => '20', + 'eval' => 'date', + 'default' => '0', + 'checkbox' => '0' + ) + ), 'address' => array( 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.address', @@ -313,7 +340,7 @@ 'types' => array( '0' => array('showitem' => ' disable,username;;;;1-1-1, password, usergroup, lastlogin;;;;1-1-1, - --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.personelData, company;;1;;1-1-1, name;;2;;2-2-2, address, zip, city, country, telephone, fax, email, www, image;;;;2-2-2, + --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.personelData, company;;1;;1-1-1, name;;2;;2-2-2, birthday, address, zip, city, country, telephone, fax, email, www, image;;;;2-2-2, --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2, --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.access, starttime, endtime, --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.extended @@ -322,7 +349,7 @@ ), 'palettes' => array( '1' => array('showitem' => 'title'), - '2' => array('showitem' => 'first_name,--linebreak--,middle_name,--linebreak--,last_name') + '2' => array('showitem' => 'gender,first_name,--linebreak--,middle_name,--linebreak--,last_name') ) );