‪TYPO3CMS  9.5
ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
5  'user',
6  'setup',
7  'after:task',
8  '',
9  [
10  'routeTarget' => \‪TYPO3\CMS\Setup\Controller\SetupModuleController::class . '::mainAction',
11  'access' => 'group,user',
12  'name' => 'user_setup',
13  'icon' => 'EXT:setup/Resources/Public/Icons/module-setup.svg',
14  'labels' => 'LLL:EXT:setup/Resources/Private/Language/locallang_mod.xlf'
15  ]
16 );
17 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
18  '_MOD_user_setup',
19  'EXT:setup/Resources/Private/Language/locallang_csh_mod.xlf'
20 );
21 
22 ‪$GLOBALS['TYPO3_USER_SETTINGS'] = [
23  'columns' => [
24  'realName' => [
25  'type' => 'text',
26  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_realName',
27  'table' => 'be_users',
28  'csh' => 'beUser_realName',
29  'max' => 80
30  ],
31  'email' => [
32  'type' => 'email',
33  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_email',
34  'table' => 'be_users',
35  'csh' => 'beUser_email',
36  'max' => 80
37  ],
38  'emailMeAtLogin' => [
39  'type' => 'check',
40  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:emailMeAtLogin',
41  'csh' => 'emailMeAtLogin'
42  ],
43  'password' => [
44  'type' => 'password',
45  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPassword',
46  'table' => 'be_users',
47  'csh' => 'newPassword',
48  ],
49  'password2' => [
50  'type' => 'password',
51  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPasswordAgain',
52  'table' => 'be_users',
53  'csh' => 'newPasswordAgain',
54  ],
55  'passwordCurrent' => [
56  'type' => 'password',
57  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:passwordCurrent',
58  'table' => 'be_users',
59  'csh' => 'passwordCurrent',
60  ],
61  'avatar' => [
62  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:be_users.avatar',
63  'type' => 'avatar',
64  'table' => 'be_users',
65  'allowed' => ‪$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
66  ],
67  'lang' => [
68  'type' => 'select',
69  'itemsProcFunc' => \‪TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderLanguageSelect',
70  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:language',
71  'csh' => 'language'
72  ],
73  'startModule' => [
74  'type' => 'select',
75  'itemsProcFunc' => \‪TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderStartModuleSelect',
76  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:startModule',
77  'csh' => 'startModule'
78  ],
79  'thumbnailsByDefault' => [
80  'type' => 'check',
81  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:showThumbs',
82  'csh' => 'showThumbs'
83  ],
84  'titleLen' => [
85  'type' => 'number',
86  'class' => 'form-control-adapt',
87  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:maxTitleLen',
88  'csh' => 'maxTitleLen'
89  ],
90  'edit_RTE' => [
91  'type' => 'check',
92  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:edit_RTE',
93  'csh' => 'edit_RTE'
94  ],
95  'edit_docModuleUpload' => [
96  'type' => 'check',
97  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:edit_docModuleUpload',
98  'csh' => 'edit_docModuleUpload'
99  ],
100  'showHiddenFilesAndFolders' => [
101  'type' => 'check',
102  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:showHiddenFilesAndFolders',
103  'csh' => 'showHiddenFilesAndFolders'
104  ],
105  'copyLevels' => [
106  'type' => 'number',
107  'class' => 'form-control-adapt',
108  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:copyLevels',
109  'csh' => 'copyLevels'
110  ],
111  'recursiveDelete' => [
112  'type' => 'check',
113  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:recursiveDelete',
114  'csh' => 'recursiveDelete'
115  ],
116  'resetConfiguration' => [
117  'type' => 'button',
118  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfiguration',
119  'buttonlabel' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfigurationButton',
120  'csh' => 'reset',
121  'confirm' => true,
122  'confirmData' => [
123  'message' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:setToStandardQuestion',
124  'jsCodeAfterOk' => 'document.getElementById(\'setValuesToDefault\').value = 1; document.getElementById(\'SetupModuleController\').submit();'
125  ]
126  ],
127  'resizeTextareas_Flexible' => [
128  'type' => 'check',
129  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resizeTextareas_Flexible',
130  'csh' => 'resizeTextareas_Flexible'
131  ],
132  'resizeTextareas_MaxHeight' => [
133  'type' => 'number',
134  'class' => 'form-control-adapt',
135  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:flexibleTextareas_MaxHeight',
136  'csh' => 'flexibleTextareas_MaxHeight'
137  ],
138  ],
139  'showitem' => '--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:personal_data,realName,email,emailMeAtLogin,avatar,lang,
140  --div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:passwordHeader,passwordCurrent,password,password2,
141  --div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:opening,startModule,
142  --div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:editFunctionsTab,edit_RTE,resizeTextareas_Flexible,resizeTextareas_MaxHeight,titleLen,thumbnailsByDefault,edit_docModuleUpload,showHiddenFilesAndFolders,copyLevels,recursiveDelete,resetConfiguration'
143 ];
‪TYPO3
‪$GLOBALS
‪$GLOBALS['PAGES_TYPES']
Definition: ext_tables.php:11