-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_tables.php
117 lines (113 loc) · 5.21 KB
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php
declare(strict_types=1);
use TYPO3\CMS\Backend\Backend\ColorScheme;
use TYPO3\CMS\Setup\Controller\SetupModuleController;
defined('TYPO3') or die();
$GLOBALS['TYPO3_USER_SETTINGS'] = [
'columns' => [
'realName' => [
'type' => 'text',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_realName',
'table' => 'be_users',
'max' => 80,
],
'email' => [
'type' => 'email',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_email',
'table' => 'be_users',
'max' => 255,
],
'emailMeAtLogin' => [
'type' => 'check',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:emailMeAtLogin',
],
'password' => [
'type' => 'password',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPassword',
'table' => 'be_users',
],
'password2' => [
'type' => 'password',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPasswordAgain',
'table' => 'be_users',
],
'passwordCurrent' => [
'type' => 'password',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:passwordCurrent',
'table' => 'be_users',
],
'avatar' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:be_users.avatar',
'type' => 'avatar',
'table' => 'be_users',
],
'lang' => [
'type' => 'language',
'table' => 'be_users',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:language',
],
'startModule' => [
'type' => 'select',
'itemsProcFunc' => SetupModuleController::class . '->renderStartModuleSelect',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:startModule',
],
'titleLen' => [
'type' => 'number',
'class' => 'form-control-adapt',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:maxTitleLen',
],
'edit_docModuleUpload' => [
'type' => 'check',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:edit_docModuleUpload',
],
'showHiddenFilesAndFolders' => [
'type' => 'check',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:showHiddenFilesAndFolders',
],
'copyLevels' => [
'type' => 'number',
'class' => 'form-control-adapt',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:copyLevels',
],
'resetConfiguration' => [
'type' => 'button',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfiguration',
'buttonlabel' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfigurationButton',
'confirm' => true,
'confirmData' => [
'message' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:setToStandardQuestion',
'eventName' => 'setup:confirmation:response',
],
],
'mfaProviders' => [
'type' => 'mfa',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:mfaProviders',
],
'backendTitleFormat' => [
'type' => 'select',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:backendTitleFormat',
'items' => [
'titleFirst' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:backendTitleFormat.titleFirst',
'sitenameFirst' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:backendTitleFormat.sitenameFirst',
],
],
'colorScheme' => [
'type' => 'select',
'label' => 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:colorScheme',
'items' => ColorScheme::getAvailableItemsForSelection(),
],
'theme' => [
'type' => 'select',
'label' => 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:theme',
'items' => [
'modern' => 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:theme.modern',
'classic' => 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:theme.classic',
],
],
],
'showitem' => '--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:personal_data,realName,email,emailMeAtLogin,avatar,lang,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:accountSecurity,passwordCurrent,password,password2,mfaProviders,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:opening,colorScheme,theme,startModule,backendTitleFormat,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:editFunctionsTab,titleLen,edit_docModuleUpload,showHiddenFilesAndFolders,copyLevels,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetTab,resetConfiguration',
];