[CLEANUP] Remove dividers2tabs functionality
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / TCA / pages_language_overlay.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'title',
5 'tstamp' => 'tstamp',
6 'title' => 'LLL:EXT:cms/locallang_tca.xlf:pages_language_overlay',
7 'versioningWS' => TRUE,
8 'versioning_followPages' => TRUE,
9 'origUid' => 't3_origuid',
10 'crdate' => 'crdate',
11 'cruser_id' => 'cruser_id',
12 'delete' => 'deleted',
13 'enablecolumns' => array(
14 'disabled' => 'hidden',
15 'starttime' => 'starttime',
16 'endtime' => 'endtime'
17 ),
18 'transOrigPointerField' => 'pid',
19 'transOrigPointerTable' => 'pages',
20 'transOrigDiffSourceField' => 'l18n_diffsource',
21 'shadowColumnsForNewPlaceholders' => 'title',
22 'languageField' => 'sys_language_uid',
23 'mainpalette' => 1,
24 'type' => 'doktype',
25 'typeicon_classes' => array(
26 'default' => 'mimetypes-x-content-page-language-overlay'
27 ),
28 'searchFields' => 'title,subtitle,nav_title,keywords,description,abstract,author,author_email,url'
29 ),
30 'interface' => array(
31 'showRecordFieldList' => 'title,hidden,starttime,endtime,keywords,description,abstract'
32 ),
33 'columns' => array(
34 'doktype' => $GLOBALS['TCA']['pages']['columns']['doktype'],
35 'hidden' => array(
36 'exclude' => 1,
37 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.hidden',
38 'config' => array(
39 'type' => 'check',
40 'default' => '0',
41 'items' => array(
42 '1' => array(
43 '0' => 'LLL:EXT:cms/locallang_tca.xlf:pages.hidden_checkbox_1_formlabel'
44 )
45 )
46 )
47 ),
48 'starttime' => array(
49 'exclude' => 1,
50 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
51 'config' => array(
52 'type' => 'input',
53 'size' => '13',
54 'max' => '20',
55 'eval' => 'datetime',
56 'default' => '0'
57 )
58 ),
59 'endtime' => array(
60 'exclude' => 1,
61 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
62 'config' => array(
63 'type' => 'input',
64 'size' => '13',
65 'max' => '20',
66 'eval' => 'datetime',
67 'default' => '0',
68 'range' => array(
69 'upper' => mktime(0, 0, 0, 12, 31, 2020)
70 )
71 )
72 ),
73 'title' => array(
74 'l10n_mode' => 'prefixLangTitle',
75 'label' => $GLOBALS['TCA']['pages']['columns']['title']['label'],
76 'l10n_cat' => 'text',
77 'config' => array(
78 'type' => 'input',
79 'size' => '50',
80 'max' => '255',
81 'eval' => 'trim,required'
82 )
83 ),
84 'subtitle' => array(
85 'exclude' => 1,
86 'l10n_cat' => 'text',
87 'label' => $GLOBALS['TCA']['pages']['columns']['subtitle']['label'],
88 'config' => array(
89 'type' => 'input',
90 'size' => '50',
91 'max' => '255',
92 'eval' => 'trim'
93 )
94 ),
95 'nav_title' => array(
96 'exclude' => 1,
97 'l10n_cat' => 'text',
98 'label' => $GLOBALS['TCA']['pages']['columns']['nav_title']['label'],
99 'config' => array(
100 'type' => 'input',
101 'size' => '50',
102 'max' => '255',
103 'eval' => 'trim'
104 )
105 ),
106 'keywords' => array(
107 'exclude' => 1,
108 'label' => $GLOBALS['TCA']['pages']['columns']['keywords']['label'],
109 'config' => array(
110 'type' => 'text',
111 'cols' => '40',
112 'rows' => '3'
113 )
114 ),
115 'description' => array(
116 'exclude' => 1,
117 'label' => $GLOBALS['TCA']['pages']['columns']['description']['label'],
118 'config' => array(
119 'type' => 'text',
120 'cols' => '40',
121 'rows' => '3'
122 )
123 ),
124 'abstract' => array(
125 'exclude' => 1,
126 'label' => $GLOBALS['TCA']['pages']['columns']['abstract']['label'],
127 'config' => array(
128 'type' => 'text',
129 'cols' => '40',
130 'rows' => '3'
131 )
132 ),
133 'author' => array(
134 'exclude' => 1,
135 'label' => $GLOBALS['TCA']['pages']['columns']['author']['label'],
136 'config' => array(
137 'type' => 'input',
138 'size' => '23',
139 'eval' => 'trim',
140 'max' => '80'
141 )
142 ),
143 'author_email' => array(
144 'exclude' => 1,
145 'label' => $GLOBALS['TCA']['pages']['columns']['author_email']['label'],
146 'config' => array(
147 'type' => 'input',
148 'size' => '23',
149 'eval' => 'trim',
150 'max' => '80',
151 'softref' => 'email[subst]'
152 )
153 ),
154 'media' => array(
155 'exclude' => 1,
156 'label' => $GLOBALS['TCA']['pages']['columns']['media']['label'],
157 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media')
158 ),
159 'url' => array(
160 'exclude' => 1,
161 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.url',
162 'config' => array(
163 'type' => 'input',
164 'size' => '23',
165 'max' => '255',
166 'eval' => 'trim',
167 'softref' => 'url'
168 )
169 ),
170 'urltype' => array(
171 'exclude' => 1,
172 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
173 'config' => array(
174 'type' => 'select',
175 'items' => $GLOBALS['TCA']['pages']['columns']['urltype']['config']['items'],
176 'default' => '1'
177 )
178 ),
179 'shortcut' => array(
180 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.shortcut_page',
181 'config' => array(
182 'type' => 'group',
183 'internal_type' => 'db',
184 'allowed' => 'pages',
185 'size' => '1',
186 'maxitems' => '1',
187 'minitems' => '0',
188 'show_thumbs' => '1',
189 'wizards' => array(
190 'suggest' => array(
191 'type' => 'suggest'
192 )
193 )
194 )
195 ),
196 'shortcut_mode' => array(
197 'exclude' => 1,
198 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode',
199 'config' => array(
200 'type' => 'select',
201 'items' => $GLOBALS['TCA']['pages']['columns']['shortcut_mode']['config']['items'],
202 'default' => '0'
203 )
204 ),
205 'sys_language_uid' => array(
206 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
207 'config' => array(
208 'type' => 'select',
209 'foreign_table' => 'sys_language',
210 'foreign_table_where' => 'ORDER BY sys_language.title',
211 'items' => array(
212 array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)
213 )
214 )
215 ),
216 'tx_impexp_origuid' => array('config' => array('type' => 'passthrough')),
217 'l18n_diffsource' => array('config' => array('type' => 'passthrough')),
218 't3ver_label' => array(
219 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
220 'config' => array(
221 'type' => 'input',
222 'size' => '30',
223 'max' => '255'
224 )
225 )
226 ),
227 'types' => array(
228 // normal
229 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT => array(
230 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
231 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
232 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
233 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
234 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
235 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
236 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
237 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.metatags;metatags,
238 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
239 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
240 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
241 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
242 '
243 ),
244 // external URL
245 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array(
246 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.external;external,
247 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
248 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
249 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
250 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
251 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
252 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
253 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
254 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
255 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
256 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
257 '
258 ),
259 // shortcut
260 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT => array(
261 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcut;shortcut,
262 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcutpage;shortcutpage,
263 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
264 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
265 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
266 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
267 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
268 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
269 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
270 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
271 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
272 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
273 '
274 ),
275 // mount page
276 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT => array(
277 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
278 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
279 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
280 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
281 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
282 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
283 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
284 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
285 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
286 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
287 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
288 '
289 ),
290 // spacer
291 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER => array(
292 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
293 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
294 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
295 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
296 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
297 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
298 '
299 ),
300 // sysfolder
301 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => array(
302 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
303 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
304 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
305 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
306 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
307 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
308 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
309 '
310 ),
311 // trash
312 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => array(
313 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
314 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
315 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
316 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
317 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
318 '
319 )
320 ),
321 'palettes' => array(
322 '5' => array('showitem' => 'author,author_email', 'canNotCollapse' => TRUE),
323 'standard' => array(
324 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, sys_language_uid',
325 'canNotCollapse' => 1
326 ),
327 'shortcut' => array(
328 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, sys_language_uid, shortcut_mode;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode_formlabel',
329 'canNotCollapse' => 1
330 ),
331 'shortcutpage' => array(
332 'showitem' => 'shortcut;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_formlabel',
333 'canNotCollapse' => 1
334 ),
335 'external' => array(
336 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, sys_language_uid, urltype;LLL:EXT:cms/locallang_tca.xlf:pages.urltype_formlabel, url;LLL:EXT:cms/locallang_tca.xlf:pages.url_formlabel',
337 'canNotCollapse' => 1
338 ),
339 'title' => array(
340 'showitem' => 'title;LLL:EXT:cms/locallang_tca.xlf:pages.title_formlabel, --linebreak--, nav_title;LLL:EXT:cms/locallang_tca.xlf:pages.nav_title_formlabel, --linebreak--, subtitle;LLL:EXT:cms/locallang_tca.xlf:pages.subtitle_formlabel',
341 'canNotCollapse' => 1
342 ),
343 'titleonly' => array(
344 'showitem' => 'title;LLL:EXT:cms/locallang_tca.xlf:pages.title_formlabel',
345 'canNotCollapse' => 1
346 ),
347 'hiddenonly' => array(
348 'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xlf:pages.hidden_formlabel',
349 'canNotCollapse' => 1
350 ),
351 'access' => array(
352 'showitem' => 'starttime;LLL:EXT:cms/locallang_tca.xlf:pages.starttime_formlabel, endtime;LLL:EXT:cms/locallang_tca.xlf:pages.endtime_formlabel',
353 'canNotCollapse' => 1
354 ),
355 'abstract' => array(
356 'showitem' => 'abstract;LLL:EXT:cms/locallang_tca.xlf:pages.abstract_formlabel',
357 'canNotCollapse' => 1
358 ),
359 'metatags' => array(
360 'showitem' => 'keywords;LLL:EXT:cms/locallang_tca.xlf:pages.keywords_formlabel, --linebreak--, description;LLL:EXT:cms/locallang_tca.xlf:pages.description_formlabel',
361 'canNotCollapse' => 1
362 ),
363 'editorial' => array(
364 'showitem' => 'author;LLL:EXT:cms/locallang_tca.xlf:pages.author_formlabel, author_email;LLL:EXT:cms/locallang_tca.xlf:pages.author_email_formlabel',
365 'canNotCollapse' => 1
366 ),
367 'language' => array(
368 'showitem' => 'l18n_cfg;LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg_formlabel',
369 'canNotCollapse' => 1
370 ),
371 'media' => array(
372 'showitem' => 'media;LLL:EXT:cms/locallang_tca.xlf:pages.media_formlabel',
373 'canNotCollapse' => 1
374 )
375 )
376 );