[BUGFIX] Move TCA modification of EXT:openid to TCA/Overrides
[Packages/TYPO3.CMS.git] / typo3 / sysext / openid / Configuration / TCA / Overrides / be_users.php
1 <?php
2 // Prepare new columns for be_users table
3 $tempColumns = array(
4 'tx_openid_openid' => array(
5 'exclude' => 0,
6 'label' => 'LLL:EXT:openid/locallang_db.xlf:be_users.tx_openid_openid',
7 'config' => array(
8 'type' => 'input',
9 'size' => '30',
10 // Requirement: unique (BE users are unique in the whole system)
11 'eval' => 'trim,nospace,unique',
12 'wizards' => array(
13 '_PADDING' => 2,
14 '0' => array(
15 'type' => 'popup',
16 'title' => 'Add OpenID',
17 'module' => array(
18 'name' => 'wizard_openid'
19 ),
20 'icon' => 'EXT:openid/ext_icon.gif',
21 'JSopenParams' => ',width=600,height=400,status=0,menubar=0,scrollbars=0',
22 )
23 ),
24 )
25 )
26 );
27 // Add new columns to be_users table
28 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('be_users', $tempColumns);
29 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('be_users', 'tx_openid_openid;;;;1-1-1', '', 'after:username');
30 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:openid' . '/locallang_csh.xlf');