TYPO3 CMS  TYPO3_7-6
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  'labels' => [
15  'tabs_images' => [
16  'tab' => 'EXT:setup/Resources/Public/Icons/module-setup.svg',
17  ],
18  'll_ref' => 'LLL:EXT:setup/Resources/Private/Language/locallang_mod.xlf',
19  ],
20  ]
21  );
23  '_MOD_user_setup',
24  'EXT:setup/Resources/Private/Language/locallang_csh_mod.xlf'
25  );
26 
27  $GLOBALS['TYPO3_USER_SETTINGS'] = [
28  'columns' => [
29  'realName' => [
30  'type' => 'text',
31  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_realName',
32  'table' => 'be_users',
33  'csh' => 'beUser_realName'
34  ],
35  'email' => [
36  'type' => 'email',
37  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_email',
38  'table' => 'be_users',
39  'csh' => 'beUser_email'
40  ],
41  'emailMeAtLogin' => [
42  'type' => 'check',
43  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:emailMeAtLogin',
44  'csh' => 'emailMeAtLogin'
45  ],
46  'password' => [
47  'type' => 'password',
48  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPassword',
49  'table' => 'be_users',
50  'csh' => 'newPassword',
51  ],
52  'password2' => [
53  'type' => 'password',
54  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPasswordAgain',
55  'table' => 'be_users',
56  'csh' => 'newPasswordAgain',
57  ],
58  'passwordCurrent' => [
59  'type' => 'password',
60  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:passwordCurrent',
61  'table' => 'be_users',
62  'csh' => 'passwordCurrent',
63  ],
64  'avatar' => [
65  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_users.avatar',
66  'type' => 'avatar',
67  'table' => 'be_users',
68  'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
69  ],
70  'lang' => [
71  'type' => 'select',
72  'itemsProcFunc' => \TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderLanguageSelect',
73  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:language',
74  'csh' => 'language'
75  ],
76  'startModule' => [
77  'type' => 'select',
78  'itemsProcFunc' => \TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderStartModuleSelect',
79  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:startModule',
80  'csh' => 'startModule'
81  ],
82  'thumbnailsByDefault' => [
83  'type' => 'check',
84  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:showThumbs',
85  'csh' => 'showThumbs'
86  ],
87  'titleLen' => [
88  'type' => 'text',
89  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:maxTitleLen',
90  'csh' => 'maxTitleLen'
91  ],
92  'edit_RTE' => [
93  'type' => 'check',
94  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:edit_RTE',
95  'csh' => 'edit_RTE'
96  ],
97  'edit_docModuleUpload' => [
98  'type' => 'check',
99  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:edit_docModuleUpload',
100  'csh' => 'edit_docModuleUpload'
101  ],
102  'showHiddenFilesAndFolders' => [
103  'type' => 'check',
104  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:showHiddenFilesAndFolders',
105  'csh' => 'showHiddenFilesAndFolders'
106  ],
107  'copyLevels' => [
108  'type' => 'text',
109  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:copyLevels',
110  'csh' => 'copyLevels'
111  ],
112  'recursiveDelete' => [
113  'type' => 'check',
114  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:recursiveDelete',
115  'csh' => 'recursiveDelete'
116  ],
117  'resetConfiguration' => [
118  'type' => 'button',
119  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfiguration',
120  'buttonlabel' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfigurationButton',
121  'csh' => 'reset',
122  'confirm' => true,
123  'confirmData' => [
124  'message' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:setToStandardQuestion',
125  'jsCodeAfterOk' => 'document.getElementById(\'setValuesToDefault\').value = 1; document.getElementById(\'SetupModuleController\').submit();'
126  ]
127  ],
128  'resizeTextareas_Flexible' => [
129  'type' => 'check',
130  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resizeTextareas_Flexible',
131  'csh' => 'resizeTextareas_Flexible'
132  ],
133  'resizeTextareas_MaxHeight' => [
134  'type' => 'text',
135  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:flexibleTextareas_MaxHeight',
136  'csh' => 'flexibleTextareas_MaxHeight'
137  ],
138  'debugInWindow' => [
139  'type' => 'check',
140  'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:debugInWindow',
141  'access' => 'admin'
142  ]
143  ],
144  'showitem' => '--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:personal_data,realName,email,emailMeAtLogin,avatar,lang,
145  --div--;LLL:EXT:setup/Resources/Private/Language/locallang.xml:passwordHeader,passwordCurrent,password,password2,
146  --div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:opening,startModule,
147  --div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:editFunctionsTab,edit_RTE,resizeTextareas_Flexible,resizeTextareas_MaxHeight,titleLen,thumbnailsByDefault,edit_docModuleUpload,showHiddenFilesAndFolders,copyLevels,recursiveDelete,resetConfiguration,
148  --div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:adminFunctions,debugInWindow'
149  ];
150 }
if(!defined("DB_ERROR")) define("DB_ERROR"
$GLOBALS['PAGES_TYPES']
Definition: ext_tables.php:12
static addModule($main, $sub='', $position='', $path='', $moduleConfiguration=[])