[CLEANUP] Deprecate DataHandler property stripslashes_values
[Packages/TYPO3.CMS.git] / typo3 / sysext / setup / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6 'user',
7 'setup',
8 'after:task',
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod/',
10 array(
11 'script' => '_DISPATCH',
12 'access' => 'group,user',
13 'name' => 'user_setup',
14 'labels' => array(
15 'tabs_images' => array(
16 'tab' => '../Resources/Public/Icons/module-setup.png',
17 ),
18 'll_ref' => 'LLL:EXT:setup/mod/locallang_mod.xlf',
19 ),
20 )
21 );
22 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
23 '_MOD_user_setup',
24 'EXT:setup/locallang_csh_mod.xlf'
25 );
26
27 $GLOBALS['TYPO3_USER_SETTINGS'] = array(
28 'columns' => array(
29 'realName' => array(
30 'type' => 'text',
31 'label' => 'LLL:EXT:setup/mod/locallang.xlf:beUser_realName',
32 'table' => 'be_users',
33 'csh' => 'beUser_realName'
34 ),
35 'email' => array(
36 'type' => 'email',
37 'label' => 'LLL:EXT:setup/mod/locallang.xlf:beUser_email',
38 'table' => 'be_users',
39 'csh' => 'beUser_email'
40 ),
41 'emailMeAtLogin' => array(
42 'type' => 'check',
43 'label' => 'LLL:EXT:setup/mod/locallang.xlf:emailMeAtLogin',
44 'csh' => 'emailMeAtLogin'
45 ),
46 'password' => array(
47 'type' => 'password',
48 'label' => 'LLL:EXT:setup/mod/locallang.xlf:newPassword',
49 'table' => 'be_users',
50 'csh' => 'newPassword',
51 ),
52 'password2' => array(
53 'type' => 'password',
54 'label' => 'LLL:EXT:setup/mod/locallang.xlf:newPasswordAgain',
55 'table' => 'be_users',
56 'csh' => 'newPasswordAgain',
57 ),
58 'lang' => array(
59 'type' => 'select',
60 'itemsProcFunc' => \TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderLanguageSelect',
61 'label' => 'LLL:EXT:setup/mod/locallang.xlf:language',
62 'csh' => 'language'
63 ),
64 'startModule' => array(
65 'type' => 'select',
66 'itemsProcFunc' => \TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderStartModuleSelect',
67 'label' => 'LLL:EXT:setup/mod/locallang.xlf:startModule',
68 'csh' => 'startModule'
69 ),
70 'thumbnailsByDefault' => array(
71 'type' => 'check',
72 'label' => 'LLL:EXT:setup/mod/locallang.xlf:showThumbs',
73 'csh' => 'showThumbs'
74 ),
75 'titleLen' => array(
76 'type' => 'text',
77 'label' => 'LLL:EXT:setup/mod/locallang.xlf:maxTitleLen',
78 'csh' => 'maxTitleLen'
79 ),
80 'edit_RTE' => array(
81 'type' => 'check',
82 'label' => 'LLL:EXT:setup/mod/locallang.xlf:edit_RTE',
83 'csh' => 'edit_RTE'
84 ),
85 'edit_docModuleUpload' => array(
86 'type' => 'check',
87 'label' => 'LLL:EXT:setup/mod/locallang.xlf:edit_docModuleUpload',
88 'csh' => 'edit_docModuleUpload'
89 ),
90 'showHiddenFilesAndFolders' => array(
91 'type' => 'check',
92 'label' => 'LLL:EXT:setup/mod/locallang.xlf:showHiddenFilesAndFolders',
93 'csh' => 'showHiddenFilesAndFolders'
94 ),
95 'copyLevels' => array(
96 'type' => 'text',
97 'label' => 'LLL:EXT:setup/mod/locallang.xlf:copyLevels',
98 'csh' => 'copyLevels'
99 ),
100 'recursiveDelete' => array(
101 'type' => 'check',
102 'label' => 'LLL:EXT:setup/mod/locallang.xlf:recursiveDelete',
103 'csh' => 'recursiveDelete'
104 ),
105 'resetConfiguration' => array(
106 'type' => 'button',
107 'label' => 'LLL:EXT:setup/mod/locallang.xlf:resetConfiguration',
108 'buttonlabel' => 'LLL:EXT:setup/mod/locallang.xlf:resetConfigurationShort',
109 'csh' => 'reset',
110 'onClick' => 'if (confirm(\'%s\')) { document.getElementById(\'setValuesToDefault\').value = 1; this.form.submit(); }',
111 'onClickLabels' => array(
112 'LLL:EXT:setup/mod/locallang.xlf:setToStandardQuestion'
113 )
114 ),
115 'clearSessionVars' => array(
116 'type' => 'button',
117 'access' => 'admin',
118 'label' => 'LLL:EXT:setup/mod/locallang.xlf:clearSessionVars',
119 'buttonlabel' => 'LLL:EXT:setup/mod/locallang.xlf:clearSessionVarsShort',
120 'csh' => 'reset',
121 'onClick' => 'if (confirm(\'%s\')) { document.getElementById(\'clearSessionVars\').value = 1; this.form.submit(); }',
122 'onClickLabels' => array(
123 'LLL:EXT:setup/mod/locallang.xlf:clearSessionVarsQuestion'
124 )
125 ),
126 'resizeTextareas_Flexible' => array(
127 'type' => 'check',
128 'label' => 'LLL:EXT:setup/mod/locallang.xlf:resizeTextareas_Flexible',
129 'csh' => 'resizeTextareas_Flexible'
130 ),
131 'resizeTextareas_MaxHeight' => array(
132 'type' => 'text',
133 'label' => 'LLL:EXT:setup/mod/locallang.xlf:flexibleTextareas_MaxHeight',
134 'csh' => 'flexibleTextareas_MaxHeight'
135 ),
136 'debugInWindow' => array(
137 'type' => 'check',
138 'label' => 'LLL:EXT:setup/mod/locallang.xlf:debugInWindow',
139 'access' => 'admin'
140 )
141 ),
142 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xlf:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
143 --div--;LLL:EXT:setup/mod/locallang.xlf:opening,startModule,thumbnailsByDefault,titleLen,
144 --div--;LLL:EXT:setup/mod/locallang.xlf:editFunctionsTab,edit_RTE,edit_docModuleUpload,showHiddenFilesAndFolders,resizeTextareas_Flexible,resizeTextareas_MaxHeight,copyLevels,recursiveDelete,resetConfiguration,clearSessionVars,
145 --div--;LLL:EXT:setup/mod/locallang.xlf:adminFunctions,debugInWindow'
146 );
147 }