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