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