[BUGFIX] Replace old images by sprite
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 /**
7 * $GLOBALS['PAGES_TYPES'] defines the various types of pages (field: doktype) the system
8 * can handle and what restrictions may apply to them.
9 * Here you can set the icon and especially you can define which tables are
10 * allowed on a certain pagetype (doktype)
11 * NOTE: The 'default' entry in the $GLOBALS['PAGES_TYPES'] array is the 'base' for all
12 * types, and for every type the entries simply overrides the entries in the 'default' type!
13 */
14 $GLOBALS['PAGES_TYPES'] = array(
15 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array(),
16 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT => array(),
17 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION => array(
18 'type' => 'web',
19 'allowedTables' => '*'
20 ),
21 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT => array(),
22 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER => array(
23 'type' => 'sys'
24 ),
25 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => array(
26 // Doktype 254 is a 'Folder' - a general purpose storage folder for whatever you like.
27 // In CMS context it's NOT a viewable page. Can contain any element.
28 'type' => 'sys',
29 'allowedTables' => '*'
30 ),
31 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => array(
32 // Doktype 255 is a recycle-bin.
33 'type' => 'sys',
34 'allowedTables' => '*'
35 ),
36 'default' => array(
37 'type' => 'web',
38 'allowedTables' => 'pages',
39 'onlyAllowedTables' => '0'
40 ),
41 );
42
43 /**
44 * $GLOBALS['TCA']:
45 * This array configures TYPO3 to work with the tables from the database by
46 * assigning meta information about data types, relations etc. The global
47 * variable $TCA will contain the information needed to recognize and
48 * render each table in the backend
49 * See documentation 'Inside TYPO3' for the syntax and list of
50 * required tables/fields!
51 *
52 * The tables configured in this document
53 * is the required minimum set of tables/field that any TYPO3 system MUST have.
54 * These tables are therefore a part of the TYPO3 core.
55 * The SQL definitions of these tables (and some more which are not defined in
56 * $TCA) is found in the file "ext_tables.sql". Only "ctrl" part is defined and
57 * the columns are defined in detail in the associated file.
58 *
59 * NOTE: The (default) icon for a table is defined 1) as a giffile named
60 * 'gfx/i/[tablename].gif' or 2) as the value of [table][ctrl][iconfile]
61 * NOTE: [table][ctrl][rootLevel] goes NOT for pages. Apart from that if
62 * rootLevel is TRUE, records can ONLY be created on rootLevel. If it's
63 * FALSE records can ONLY be created OUTSIDE rootLevel
64 */
65
66 // If the compat version is less than 4.2, pagetype 2 ("Advanced")
67 // and pagetype 5 ("Not in menu") are added to TCA.
68 if (!\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('4.2')) {
69 // Merging in CMS doktypes
70 array_splice($GLOBALS['TCA']['pages']['columns']['doktype']['config']['items'], 2, 0, array(
71 array(
72 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.0',
73 '2',
74 'i/pages.gif'
75 ),
76 array(
77 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.3',
78 '5',
79 'i/pages_notinmenu.gif'
80 )
81 ));
82 // Set the doktype 1 ("Standard") to show less fields
83 $GLOBALS['TCA']['pages']['types'][1] = array(
84 // standard
85 'showitem' => 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
86 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
87 starttime, endtime, fe_group, extendToSubpages,
88 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.options,
89 TSconfig;;6;nowrap;4-4-4, storage_pid;;7, l18n_cfg, backend_layout;;8,
90 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
91 '
92 );
93 // Add doktype 2 ("Advanced")
94 $GLOBALS['TCA']['pages']['types'][2] = array(
95 'showitem' => 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
96 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
97 abstract;;5;;3-3-3, keywords, description,
98 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.files,
99 media,
100 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
101 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
102 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.options,
103 TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid, backend_layout;;8,
104 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
105 '
106 );
107 }
108
109 // Keep old code (pre-FAL) for installations that haven't upgraded yet. please remove this code in TYPO3 6.2
110 // @deprecated since TYPO3 6.0, please remove at earliest in TYPO3 6.2
111 if (
112 (
113 !isset($GLOBALS['TYPO3_CONF_VARS']['INSTALL']['wizardDone']['TYPO3\\CMS\\Install\\Updates\\TceformsUpdateWizard'])
114 || !\TYPO3\CMS\Core\Utility\GeneralUtility::inList($GLOBALS['TYPO3_CONF_VARS']['INSTALL']['wizardDone']['TYPO3\\CMS\\Install\\Updates\\TceformsUpdateWizard'], 'pages:media')
115 )
116 && !\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('6.0')
117 ) {
118 \TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog(
119 'This installation hasn\'t been migrated to FAL for the field $GLOBALS[TCA][pages][columns][media] yet. Please do so before TYPO3 v7.'
120 );
121 // existing installation and no upgrade wizard was executed - and files haven't been merged: use the old code
122 $GLOBALS['TCA']['pages']['columns']['media']['config'] = array(
123 'type' => 'group',
124 'internal_type' => 'file',
125 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . ',html,htm,ttf,txt,css',
126 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
127 'uploadfolder' => 'uploads/media',
128 'show_thumbs' => '1',
129 'size' => '3',
130 'maxitems' => '100',
131 'minitems' => '0'
132 );
133 }
134
135 // Populate available languages
136 /** @var $locales \TYPO3\CMS\Core\Localization\Locales */
137 $locales = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Localization\\Locales');
138 $languageItems = $locales->getLanguages();
139 unset($languageItems['default']);
140 asort($languageItems);
141 foreach ($languageItems as $locale => $name) {
142 $GLOBALS['TCA']['be_users']['columns']['lang']['config']['items'][] = array($name, $locale);
143 }
144
145 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('sys_category');
146
147 /** @var \TYPO3\CMS\Core\Resource\Driver\DriverRegistry $registry */
148 $registry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\Driver\\DriverRegistry');
149 $registry->addDriversToTCA();
150
151 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('sys_file_reference');
152
153 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('sys_file_collection');
154
155 /**
156 * $TBE_MODULES contains the structure of the backend modules as they are
157 * arranged in main- and sub-modules. Every entry in this array represents a
158 * menu item on either first (key) or second level (value from list) in the
159 * left menu in the TYPO3 backend
160 * For information about adding modules to TYPO3 you should consult the
161 * documentation found in "Inside TYPO3"
162 */
163 $GLOBALS['TBE_MODULES'] = array(
164 'web' => 'list',
165 'file' => '',
166 'user' => '',
167 'tools' => '',
168 'system' => '',
169 'help' => ''
170 );
171
172
173 // Register the page tree core navigation component
174 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('web', 'typo3-pagetree');
175
176
177 /**
178 * $TBE_STYLES configures backend styles and colors; Basically this contains
179 * all the values that can be used to create new skins for TYPO3.
180 * For information about making skins to TYPO3 you should consult the
181 * documentation found in "Inside TYPO3"
182 */
183 $GLOBALS['TBE_STYLES'] = array(
184 'colorschemes' => array(
185 '0' => '#E4E0DB,#CBC7C3,#EDE9E5'
186 ),
187 'borderschemes' => array(
188 '0' => array('border:solid 1px black;', 5)
189 )
190 );
191
192
193 /**
194 * Setting up $TCA_DESCR - Context Sensitive Help (CSH)
195 * For information about using the CSH API in TYPO3 you should consult the
196 * documentation found in "Inside TYPO3"
197 */
198 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:lang/locallang_csh_pages.xlf');
199 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:lang/locallang_csh_be_users.xlf');
200 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:lang/locallang_csh_be_groups.xlf');
201 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:lang/locallang_csh_sysfilem.xlf');
202 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:lang/locallang_csh_syslang.xlf');
203 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_news', 'EXT:lang/locallang_csh_sysnews.xlf');
204 // General Core
205 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xMOD_csh_corebe', 'EXT:lang/locallang_csh_corebe.xlf');
206 // Extension manager
207 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_tools_em', 'EXT:lang/locallang_csh_em.xlf');
208 // Web > Info
209 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:lang/locallang_csh_web_info.xlf');
210 // Web > Func
211 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:lang/locallang_csh_web_func.xlf');
212 // Labels for TYPO3 4.5 and greater.
213 // These labels override the ones set above, while still falling back to the original labels
214 // if no translation is available.
215 $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:lang/locallang_csh_pages.xlf'][] = 'EXT:lang/4.5/locallang_csh_pages.xlf';
216 $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:lang/locallang_csh_corebe.xlf'][] = 'EXT:lang/4.5/locallang_csh_corebe.xlf';
217
218
219 /**
220 * $FILEICONS defines icons for the various file-formats
221 */
222 $GLOBALS['FILEICONS'] = array(
223 'txt' => 'txt.gif',
224 'pdf' => 'pdf.gif',
225 'doc' => 'doc.gif',
226 'ai' => 'ai.gif',
227 'bmp' => 'bmp.gif',
228 'tif' => 'tif.gif',
229 'htm' => 'htm.gif',
230 'html' => 'html.gif',
231 'pcd' => 'pcd.gif',
232 'gif' => 'gif.gif',
233 'jpg' => 'jpg.gif',
234 'jpeg' => 'jpg.gif',
235 'mpg' => 'mpg.gif',
236 'mpeg' => 'mpeg.gif',
237 'exe' => 'exe.gif',
238 'com' => 'exe.gif',
239 'zip' => 'zip.gif',
240 'tgz' => 'zip.gif',
241 'gz' => 'zip.gif',
242 'php3' => 'php3.gif',
243 'php4' => 'php3.gif',
244 'php5' => 'php3.gif',
245 'php6' => 'php3.gif',
246 'php' => 'php3.gif',
247 'ppt' => 'ppt.gif',
248 'ttf' => 'ttf.gif',
249 'pcx' => 'pcx.gif',
250 'png' => 'png.gif',
251 'tga' => 'tga.gif',
252 'class' => 'java.gif',
253 'sxc' => 'sxc.gif',
254 'sxw' => 'sxw.gif',
255 'xls' => 'xls.gif',
256 'swf' => 'swf.gif',
257 'swa' => 'flash.gif',
258 'dcr' => 'flash.gif',
259 'wav' => 'wav.gif',
260 'mp3' => 'mp3.gif',
261 'avi' => 'avi.gif',
262 'au' => 'au.gif',
263 'mov' => 'mov.gif',
264 '3ds' => '3ds.gif',
265 'csv' => 'csv.gif',
266 'ico' => 'ico.gif',
267 'max' => 'max.gif',
268 'ps' => 'ps.gif',
269 'tmpl' => 'tmpl.gif',
270 'fh3' => 'fh3.gif',
271 'inc' => 'inc.gif',
272 'mid' => 'mid.gif',
273 'psd' => 'psd.gif',
274 'xml' => 'xml.gif',
275 'rtf' => 'rtf.gif',
276 't3x' => 't3x.gif',
277 't3d' => 't3d.gif',
278 'cdr' => 'cdr.gif',
279 'dtd' => 'dtd.gif',
280 'sgml' => 'sgml.gif',
281 'ani' => 'ani.gif',
282 'css' => 'css.gif',
283 'eps' => 'eps.gif',
284 'js' => 'js.gif',
285 'wrl' => 'wrl.gif',
286 'default' => 'default.gif'
287 );
288
289
290 /**
291 * Backend sprite icon-names
292 */
293 $GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'] = array(
294 'actions-document-close',
295 'actions-document-duplicates-select',
296 'actions-document-edit-access',
297 'actions-document-export-csv',
298 'actions-document-export-t3d',
299 'actions-document-history-open',
300 'actions-document-import-t3d',
301 'actions-document-info',
302 'actions-document-localize',
303 'actions-document-move',
304 'actions-document-new',
305 'actions-document-open',
306 'actions-document-open-read-only',
307 'actions-document-paste-after',
308 'actions-document-paste-into',
309 'actions-document-save',
310 'actions-document-save-close',
311 'actions-document-save-new',
312 'actions-document-save-view',
313 'actions-document-select',
314 'actions-document-synchronize',
315 'actions-document-view',
316 'actions-edit-add',
317 'actions-edit-copy',
318 'actions-edit-copy-release',
319 'actions-edit-cut',
320 'actions-edit-cut-release',
321 'actions-edit-delete',
322 'actions-edit-hide',
323 'actions-edit-insert-default',
324 'actions-edit-localize-status-high',
325 'actions-edit-localize-status-low',
326 'actions-edit-merge-localization',
327 'actions-edit-pick-date',
328 'actions-edit-rename',
329 'actions-edit-restore',
330 'actions-edit-undelete-edit',
331 'actions-edit-undo',
332 'actions-edit-unhide',
333 'actions-edit-upload',
334 'actions-input-clear',
335 'actions-insert-record',
336 'actions-insert-reference',
337 'actions-markstate',
338 'actions-message-error-close',
339 'actions-message-information-close',
340 'actions-message-notice-close',
341 'actions-message-ok-close',
342 'actions-message-warning-close',
343 'actions-move-down',
344 'actions-move-left',
345 'actions-move-move',
346 'actions-move-right',
347 'actions-move-to-bottom',
348 'actions-move-to-top',
349 'actions-move-up',
350 'actions-page-move',
351 'actions-page-new',
352 'actions-page-open',
353 'actions-selection-delete',
354 'actions-system-backend-user-emulate',
355 'actions-system-backend-user-switch',
356 'actions-system-cache-clear',
357 'actions-system-cache-clear-impact-high',
358 'actions-system-cache-clear-impact-low',
359 'actions-system-cache-clear-impact-medium',
360 'actions-system-cache-clear-rte',
361 'actions-system-extension-configure',
362 'actions-system-extension-documentation',
363 'actions-system-extension-download',
364 'actions-system-extension-import',
365 'actions-system-extension-install',
366 'actions-system-extension-sqldump',
367 'actions-system-extension-uninstall',
368 'actions-system-extension-update',
369 'actions-system-extension-update-disabled',
370 'actions-system-help-open',
371 'actions-system-list-open',
372 'actions-system-options-view',
373 'actions-system-pagemodule-open',
374 'actions-system-refresh',
375 'actions-system-shortcut-new',
376 'actions-system-tree-search-open',
377 'actions-system-typoscript-documentation',
378 'actions-system-typoscript-documentation-open',
379 'actions-template-new',
380 'actions-unmarkstate',
381 'actions-version-document-remove',
382 'actions-version-page-open',
383 'actions-version-swap-version',
384 'actions-version-swap-workspace',
385 'actions-version-workspace-preview',
386 'actions-version-workspace-sendtostage',
387 'actions-view-go-back',
388 'actions-view-go-down',
389 'actions-view-go-forward',
390 'actions-view-go-up',
391 'actions-view-list-collapse',
392 'actions-view-list-expand',
393 'actions-view-paging-first',
394 'actions-view-paging-first-disabled',
395 'actions-view-paging-last',
396 'actions-view-paging-last-disabled',
397 'actions-view-paging-next',
398 'actions-view-paging-next-disabled',
399 'actions-view-paging-previous',
400 'actions-view-paging-previous-disabled',
401 'actions-view-table-collapse',
402 'actions-view-table-expand',
403 'actions-window-open',
404 'apps-clipboard-images',
405 'apps-clipboard-list',
406 'apps-filetree-folder-add',
407 'apps-filetree-folder-default',
408 'apps-filetree-folder-list',
409 'apps-filetree-folder-locked',
410 'apps-filetree-folder-media',
411 'apps-filetree-folder-news',
412 'apps-filetree-folder-opened',
413 'apps-filetree-folder-recycler',
414 'apps-filetree-folder-temp',
415 'apps-filetree-folder-user',
416 'apps-filetree-mount',
417 'apps-filetree-root',
418 'apps-irre-collapsed',
419 'apps-irre-expanded',
420 'apps-pagetree-backend-user',
421 'apps-pagetree-backend-user-hideinmenu',
422 'apps-pagetree-collapse',
423 'apps-pagetree-drag-copy-above',
424 'apps-pagetree-drag-copy-below',
425 'apps-pagetree-drag-move-above',
426 'apps-pagetree-drag-move-below',
427 'apps-pagetree-drag-move-between',
428 'apps-pagetree-drag-move-into',
429 'apps-pagetree-drag-new-between',
430 'apps-pagetree-drag-new-inside',
431 'apps-pagetree-drag-place-denied',
432 'apps-pagetree-expand',
433 'apps-pagetree-folder-contains-approve',
434 'apps-pagetree-folder-contains-board',
435 'apps-pagetree-folder-contains-fe_users',
436 'apps-pagetree-folder-contains-news',
437 'apps-pagetree-folder-contains-shop',
438 'apps-pagetree-folder-default',
439 'apps-pagetree-page-advanced',
440 'apps-pagetree-page-advanced-hideinmenu',
441 'apps-pagetree-page-advanced-root',
442 'apps-pagetree-page-backend-users',
443 'apps-pagetree-page-backend-users-hideinmenu',
444 'apps-pagetree-page-backend-users-root',
445 'apps-pagetree-page-default',
446 'apps-pagetree-page-domain',
447 'apps-pagetree-page-frontend-user',
448 'apps-pagetree-page-frontend-user-hideinmenu',
449 'apps-pagetree-page-frontend-user-root',
450 'apps-pagetree-page-frontend-users',
451 'apps-pagetree-page-frontend-users-hideinmenu',
452 'apps-pagetree-page-frontend-users-root',
453 'apps-pagetree-page-mountpoint',
454 'apps-pagetree-page-mountpoint-hideinmenu',
455 'apps-pagetree-page-mountpoint-root',
456 'apps-pagetree-page-no-icon-found',
457 'apps-pagetree-page-no-icon-found-hideinmenu',
458 'apps-pagetree-page-no-icon-found-root',
459 'apps-pagetree-page-not-in-menu',
460 'apps-pagetree-page-recycler',
461 'apps-pagetree-page-shortcut',
462 'apps-pagetree-page-shortcut-external',
463 'apps-pagetree-page-shortcut-external-hideinmenu',
464 'apps-pagetree-page-shortcut-external-root',
465 'apps-pagetree-page-shortcut-hideinmenu',
466 'apps-pagetree-page-shortcut-root',
467 'apps-pagetree-root',
468 'apps-pagetree-spacer',
469 'apps-tcatree-select-recursive',
470 'apps-toolbar-menu-actions',
471 'apps-toolbar-menu-cache',
472 'apps-toolbar-menu-opendocs',
473 'apps-toolbar-menu-search',
474 'apps-toolbar-menu-shortcut',
475 'apps-toolbar-menu-workspace',
476 'mimetypes-compressed',
477 'mimetypes-excel',
478 'mimetypes-media-audio',
479 'mimetypes-media-flash',
480 'mimetypes-media-image',
481 'mimetypes-media-video',
482 'mimetypes-other-other',
483 'mimetypes-pdf',
484 'mimetypes-powerpoint',
485 'mimetypes-text-css',
486 'mimetypes-text-csv',
487 'mimetypes-text-html',
488 'mimetypes-text-js',
489 'mimetypes-text-php',
490 'mimetypes-text-text',
491 'mimetypes-word',
492 'mimetypes-x-content-divider',
493 'mimetypes-x-content-domain',
494 'mimetypes-x-content-form',
495 'mimetypes-x-content-form-search',
496 'mimetypes-x-content-header',
497 'mimetypes-x-content-html',
498 'mimetypes-x-content-image',
499 'mimetypes-x-content-link',
500 'mimetypes-x-content-list-bullets',
501 'mimetypes-x-content-list-files',
502 'mimetypes-x-content-login',
503 'mimetypes-x-content-menu',
504 'mimetypes-x-content-multimedia',
505 'mimetypes-x-content-page-language-overlay',
506 'mimetypes-x-content-plugin',
507 'mimetypes-x-content-script',
508 'mimetypes-x-content-table',
509 'mimetypes-x-content-template',
510 'mimetypes-x-content-template-extension',
511 'mimetypes-x-content-template-static',
512 'mimetypes-x-content-text',
513 'mimetypes-x-content-text-picture',
514 'mimetypes-x-sys_action',
515 'mimetypes-x-sys_category',
516 'mimetypes-x-sys_language',
517 'mimetypes-x-sys_news',
518 'mimetypes-x-sys_workspace',
519 'mimetypes-x_belayout',
520 'status-dialog-error',
521 'status-dialog-information',
522 'status-dialog-notification',
523 'status-dialog-ok',
524 'status-dialog-warning',
525 'status-overlay-access-restricted',
526 'status-overlay-deleted',
527 'status-overlay-hidden',
528 'status-overlay-icon-missing',
529 'status-overlay-includes-subpages',
530 'status-overlay-locked',
531 'status-overlay-scheduled',
532 'status-overlay-scheduled-future-end',
533 'status-overlay-translated',
534 'status-status-checked',
535 'status-status-current',
536 'status-status-edit-read-only',
537 'status-status-icon-missing',
538 'status-status-locked',
539 'status-status-permission-denied',
540 'status-status-permission-granted',
541 'status-status-readonly',
542 'status-status-reference-hard',
543 'status-status-reference-soft',
544 'status-status-sorting-asc',
545 'status-status-sorting-desc',
546 'status-status-sorting-light-asc',
547 'status-status-sorting-light-desc',
548 'status-status-workspace-draft',
549 'status-system-extension-required',
550 'status-user-admin',
551 'status-user-backend',
552 'status-user-frontend',
553 'status-user-group-backend',
554 'status-user-group-frontend',
555 'status-version-1',
556 'status-version-2',
557 'status-version-3',
558 'status-version-4',
559 'status-version-5',
560 'status-version-6',
561 'status-version-7',
562 'status-version-8',
563 'status-version-9',
564 'status-version-10',
565 'status-version-11',
566 'status-version-12',
567 'status-version-13',
568 'status-version-14',
569 'status-version-15',
570 'status-version-16',
571 'status-version-17',
572 'status-version-18',
573 'status-version-19',
574 'status-version-20',
575 'status-version-21',
576 'status-version-22',
577 'status-version-23',
578 'status-version-24',
579 'status-version-25',
580 'status-version-26',
581 'status-version-27',
582 'status-version-28',
583 'status-version-29',
584 'status-version-30',
585 'status-version-31',
586 'status-version-32',
587 'status-version-33',
588 'status-version-34',
589 'status-version-35',
590 'status-version-36',
591 'status-version-37',
592 'status-version-38',
593 'status-version-39',
594 'status-version-40',
595 'status-version-41',
596 'status-version-42',
597 'status-version-43',
598 'status-version-44',
599 'status-version-45',
600 'status-version-46',
601 'status-version-47',
602 'status-version-48',
603 'status-version-49',
604 'status-version-50',
605 'status-version-no-version',
606 'status-warning-in-use',
607 'status-warning-lock'
608 );
609
610
611 $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'] = array(
612 'deleted',
613 'hidden',
614 'starttime',
615 'endtime',
616 'futureendtime',
617 'fe_group',
618 'protectedSection'
619 );
620
621
622 $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'] = array(
623 'hidden' => 'status-overlay-hidden',
624 'fe_group' => 'status-overlay-access-restricted',
625 'starttime' => 'status-overlay-scheduled',
626 'endtime' => 'status-overlay-scheduled',
627 'futureendtime' => 'status-overlay-scheduled-future-end',
628 'readonly' => 'status-overlay-locked',
629 'deleted' => 'status-overlay-deleted',
630 'missing' => 'status-overlay-missing',
631 'translated' => 'status-overlay-translated',
632 'protectedSection' => 'status-overlay-includes-subpages'
633 );
634 ?>