Added feature #15990: Introduce a new CSH API function and make use of it in TCEforms
[Packages/TYPO3.CMS.git] / typo3 / sysext / setup / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 if (TYPO3_MODE=='BE') {
5 t3lib_extMgm::addModule('user','setup','after:task',t3lib_extMgm::extPath($_EXTKEY).'mod/');
6 t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup','EXT:setup/locallang_csh_mod.xml');
7 }
8
9 $GLOBALS['TYPO3_USER_SETTINGS'] = array(
10 'ctrl' => array (
11 'dividers2tabs' => 1
12 ),
13 'columns' => array (
14 'realName' => array(
15 'type' => 'text',
16 'label' => 'LLL:EXT:setup/mod/locallang.xml:beUser_realName',
17 'table' => 'be_users',
18 'csh' => 'beUser_realName',
19 ),
20 'email' => array(
21 'type' => 'text',
22 'label' => 'LLL:EXT:setup/mod/locallang.xml:beUser_email',
23 'table' => 'be_users',
24 'csh' => 'beUser_email',
25 ),
26 'emailMeAtLogin' => array(
27 'type' => 'check',
28 'label' => 'LLL:EXT:setup/mod/locallang.xml:emailMeAtLogin',
29 'csh' => 'emailMeAtLogin',
30 ),
31 'password' => array(
32 'type' => 'password',
33 'label' => 'LLL:EXT:setup/mod/locallang.xml:newPassword',
34 'table' => 'be_users',
35 'csh' => 'newPassword',
36 'eval' => 'md5',
37 ),
38 'password2' => array(
39 'type' => 'password',
40 'label' => 'LLL:EXT:setup/mod/locallang.xml:newPasswordAgain',
41 'table' => 'be_users',
42 'csh' => 'newPasswordAgain',
43 'eval' => 'md5',
44 ),
45 'lang' => array(
46 'type' => 'select',
47 'itemsProcFunc' => 'SC_mod_user_setup_index->renderLanguageSelect',
48 'label' => 'LLL:EXT:setup/mod/locallang.xml:language',
49 'csh' => 'language',
50 ),
51 'condensedMode' => array(
52 'type' => 'check',
53 'label' => 'LLL:EXT:setup/mod/locallang.xml:condensedMode',
54 'csh' => 'condensedMode',
55 ),
56 'startModule' => array(
57 'type' => 'select',
58 'itemsProcFunc' => 'SC_mod_user_setup_index->renderStartModuleSelect',
59 'label' => 'LLL:EXT:setup/mod/locallang.xml:startModule',
60 'csh' => 'startModule',
61 ),
62 'thumbnailsByDefault' => array(
63 'type' => 'check',
64 'label' => 'LLL:EXT:setup/mod/locallang.xml:showThumbs',
65 'csh' => 'showThumbs',
66 ),
67 'helpText' => array(
68 'type' => 'check',
69 'label' => 'LLL:EXT:setup/mod/locallang.xml:helpText',
70 'csh' => 'helpText',
71 ),
72 'edit_wideDocument' => array(
73 'type' => 'check',
74 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_wideDocument',
75 'csh' => 'edit_wideDocument',
76 ),
77 'titleLen' => array(
78 'type' => 'text',
79 'label' => 'LLL:EXT:setup/mod/locallang.xml:maxTitleLen',
80 'csh' => 'maxTitleLen',
81 ),
82 'edit_RTE' => array(
83 'type' => 'check',
84 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_RTE',
85 'csh' => 'edit_RTE',
86 ),
87 'edit_docModuleUpload' => array(
88 'type' => 'check',
89 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_docModuleUpload',
90 'csh' => 'edit_docModuleUpload',
91 ),
92 'disableCMlayers' => array(
93 'type' => 'check',
94 'label' => 'LLL:EXT:setup/mod/locallang.xml:disableCMlayers',
95 'csh' => 'disableCMlayers',
96 ),
97 'copyLevels' => array(
98 'type' => 'text',
99 'label' => 'LLL:EXT:setup/mod/locallang.xml:copyLevels',
100 'csh' => 'copyLevels',
101 ),
102 'recursiveDelete' => array(
103 'type' => 'check',
104 'label' => 'LLL:EXT:setup/mod/locallang.xml:recursiveDelete',
105 'csh' => 'recursiveDelete',
106 ),
107 'simulate' => array(
108 'type' => 'select',
109 'itemsProcFunc' => 'SC_mod_user_setup_index->renderSimulateUserSelect',
110 'access' => 'admin',
111 'label' => 'LLL:EXT:setup/mod/locallang.xml:simulate',
112 'csh' => 'simuser'
113 ),
114 'enableFlashUploader' => array(
115 'type' => 'check',
116 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableFlashUploader',
117 'csh' => 'enableFlashUploader',
118 ),
119 'resizeTextareas' => array(
120 'type' => 'check',
121 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas',
122 'csh' => 'resizeTextareas',
123 ),
124 'resizeTextareas_MaxHeight' => array(
125 'type' => 'text',
126 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_MaxHeight',
127 'csh' => 'resizeTextareas_MaxHeight',
128 ),
129 'resizeTextareas_Flexible' => array(
130 'type' => 'check',
131 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_Flexible',
132 'csh' => 'resizeTextareas_Flexible',
133 ),
134 'debugInWindow' => array(
135 'type' => 'check',
136 'label' => 'LLL:EXT:setup/mod/locallang.xml:debugInWindow',
137 'access' => 'admin',
138 ),
139 'installToolEnableButton' => array(
140 'type' => 'user',
141 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableInstallTool.label',
142 'userFunc' => 'SC_mod_user_setup_index->renderInstallToolEnableFileButton',
143 'access' => 'admin',
144 'csh' => 'enableInstallTool'
145 ),
146 ),
147 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xml:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
148 --div--;LLL:EXT:setup/mod/locallang.xml:opening,condensedMode,startModule,thumbnailsByDefault,helpText,edit_showFieldHelp,titleLen,
149 --div--;LLL:EXT:setup/mod/locallang.xml:editFunctionsTab,edit_RTE,edit_wideDocument,edit_docModuleUpload,enableFlashUploader,resizeTextareas,resizeTextareas_MaxHeight,resizeTextareas_Flexible,disableCMlayers,copyLevels,recursiveDelete,
150 --div--;LLL:EXT:setup/mod/locallang.xml:adminFunctions,simulate,debugInWindow,installToolEnableButton'
151
152 );
153 ?>