PageRenderTime 35ms CodeModel.GetById 9ms app.highlight 21ms RepoModel.GetById 0ms app.codeStats 1ms

/t3lib/stddb/tables.php

https://github.com/foxsoft/typo3v4core
PHP | 852 lines | 682 code | 46 blank | 124 comment | 0 complexity | 14163a34d3b2f1311ef6c2bd7b7069bc MD5 | raw file
  1<?php
  2/***************************************************************
  3*  Copyright notice
  4*
  5*  (c) 1999-2010 Kasper Skaarhoj (kasperYYYY@typo3.com)
  6*  All rights reserved
  7*
  8*  This script is part of the TYPO3 project. The TYPO3 project is
  9*  free software; you can redistribute it and/or modify
 10*  it under the terms of the GNU General Public License as published by
 11*  the Free Software Foundation; either version 2 of the License, or
 12*  (at your option) any later version.
 13*
 14*  The GNU General Public License can be found at
 15*  http://www.gnu.org/copyleft/gpl.html.
 16*  A copy is found in the textfile GPL.txt and important notices to the license
 17*  from the author is found in LICENSE.txt distributed with these scripts.
 18*
 19*
 20*  This script is distributed in the hope that it will be useful,
 21*  but WITHOUT ANY WARRANTY; without even the implied warranty of
 22*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 23*  GNU General Public License for more details.
 24*
 25*  This copyright notice MUST APPEAR in all copies of the script!
 26***************************************************************/
 27/**
 28 * Contains the initialization of global TYPO3 variables among which $TCA is the most significant.
 29 *
 30 * The list in order of apperance is: $PAGES_TYPES, $ICON_TYPES, $LANG_GENERAL_LABELS, $TCA, $TBE_MODULES, $TBE_STYLES, $FILEICONS
 31 * These variables are first of all used in the backend but to some degree in the frontend as well. (See references)
 32 * See the document "Inside TYPO3" for a description of each variable in addition to the comment associated with each.
 33 *
 34 * This file is included from "typo3/init.php" (backend) and "index_ts.php" (frontend) as the first file of a three-fold inclusion session (see references):
 35 * 1) First this script is included (unless the constant "TYPO3_tables_script" instructs another filename to substitute it, see t3lib/config_default.php); This should initialize the variables shown above.
 36 * 2) Then either the "typo3conf/temp_CACHED_??????_ext_tables.php" cache file OR "stddb/load_ext_tables.php" is included in order to let extensions add/modify these variables as they desire.
 37 * 3) Finally if the constant "TYPO3_extTableDef_script" defines a file name from typo3conf/ it is included, also for overriding values (the old-school way before extensions came in). See config_default.php
 38 *
 39 * Configuration in this file should NOT be edited directly. If you would like to alter
 40 * or extend this information, please make an extension which does so.
 41 * Thus you preserve backwards compatibility.
 42 *
 43 *
 44 * $Id$
 45 * Revised for TYPO3 3.6 July/2003 by Kasper Skaarhoj
 46 *
 47 * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
 48 * @see tslib_fe::includeTCA(), typo3/init.php, t3lib/stddb/load_ext_tables.php
 49 * @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=262&cHash=4f12caa011
 50 */
 51
 52
 53/**
 54 * $PAGES_TYPES defines the various types of pages (field: doktype) the system can handle and what restrictions may apply to them.
 55 * Here you can set the icon and especially you can define which tables are allowed on a certain pagetype (doktype)
 56 * NOTE: The 'default' entry in the $PAGES_TYPES-array is the 'base' for all types, and for every type the entries simply overrides the entries in the 'default' type!
 57 */
 58$PAGES_TYPES = array(
 59	'254' => array(		//  Doktype 254 is a 'sysFolder' - a general purpose storage folder for whatever you like. In CMS context it's NOT a viewable page. Can contain any element.
 60		'type' => 'sys',
 61		'icon' => 'sysf.gif',
 62		'allowedTables' => '*'
 63	),
 64	'255' => array(		// Doktype 255 is a recycle-bin.
 65		'type' => 'sys',
 66		'icon' => 'recycler.gif',
 67		'allowedTables' => '*'
 68	),
 69	'default' => array(
 70		'type' => 'web',
 71		'icon' => 'pages.gif',
 72		'allowedTables' => 'pages',
 73		'onlyAllowedTables' => '0'
 74	)
 75);
 76
 77
 78/**
 79 * With $ICON_TYPES you can assign alternative icons to pages records based on another field than 'doktype'
 80 * Each key is a value from the "module" field of page records and the value is an array with a key/value pair, eg. "icon" => "modules_shop.gif"
 81 *
 82 * @see t3lib_iconWorks::getIcon(), typo3/sysext/cms/ext_tables.php
 83 */
 84$ICON_TYPES = array();
 85
 86
 87/**
 88 * Commonly used language labels which can be used in the $TCA array and elsewhere.
 89 * Obsolete - just use the values of each entry directly.
 90 * @todo turn into an object with magic getters and setter so we can make use of the deprecation logging
 91 * @deprecated since TYPO3 3.6
 92 */
 93$LANG_GENERAL_LABELS = array(
 94	'endtime' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
 95	'hidden' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
 96	'starttime' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
 97	'fe_group' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
 98	'hide_at_login' => 'LLL:EXT:lang/locallang_general.php:LGL.hide_at_login',
 99	'any_login' => 'LLL:EXT:lang/locallang_general.php:LGL.any_login',
100	'usergroups' => 'LLL:EXT:lang/locallang_general.php:LGL.usergroups',
101);
102
103
104
105
106
107
108
109
110
111
112
113
114/**
115 * $TCA:
116 * This array configures TYPO3 to work with the tables from the database by assigning meta information about data types, relations etc.
117 * The global variable $TCA will contain the information needed to recognize and render each table in the backend
118 * See documentation 'Inside TYPO3' for the syntax and list of required tables/fields!
119 *
120 * The tables configured in this document (and backed up by "tbl_be.php") is the required minimum set of tables/field that any TYPO3 system MUST have. These tables are therefore a part of the TYPO3 core.
121 * The SQL definitions of these tables (and some more which are not defined in $TCA) is found in the file "tables.sql"
122 * Only the "pages" table is defined fully in this file - the others are only defined for the "ctrl" part and the columns are defined in detail in the associated file, "tbl_be.php"
123 *
124 * NOTE: The (default) icon for a table is defined 1) as a giffile named 'gfx/i/[tablename].gif' or 2) as the value of [table][ctrl][iconfile]
125 * NOTE: [table][ctrl][rootLevel] goes NOT for pages. Apart from that if rootLevel is true, records can ONLY be created on rootLevel. If it's false records can ONLY be created OUTSIDE rootLevel
126 */
127$TCA = array();
128
129/**
130 * Table "pages":
131 * The mandatory pages table. The backbone of the TYPO3 page tree structure.
132 * All other records configured in $TCA must have a field, "pid", which relates the record to a page record's "uid" field.
133 * Must be COMPLETELY configured in tables.php
134 */
135$TCA['pages'] = array(
136	'ctrl' => array(
137		'label' => 'title',
138		'tstamp' => 'tstamp',
139		'sortby' => 'sorting',
140		'title' => 'LLL:EXT:lang/locallang_tca.php:pages',
141		'type' => 'doktype',
142		'versioningWS' => 2,
143		'origUid' => 't3_origuid',
144		'delete' => 'deleted',
145		'crdate' => 'crdate',
146		'hideAtCopy' => 1,
147		'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
148		'cruser_id' => 'cruser_id',
149		'editlock' => 'editlock',
150		'useColumnsForDefaultValues' => 'doktype',
151		'typeicon_column' => 'doktype',
152		'typeicon_classes' => array(
153			'1' => 'apps-pagetree-page-default',
154			'1-hideinmenu' => 'apps-pagetree-page-not-in-menu',
155			'1-root' => 'apps-pagetree-page-domain',
156			'3' => 'apps-pagetree-page-shortcut-external',
157			'3-hideinmenu' => 'apps-pagetree-page-shortcut-external-hideinmenu',
158			'3-root' => 'apps-pagetree-page-shortcut-external-root',
159			'4' => 'apps-pagetree-page-shortcut',
160			'4-hideinmenu' => 'apps-pagetree-page-shortcut-hideinmenu',
161			'4-root' => 'apps-pagetree-page-shortcut-root',
162			'6' => 'apps-pagetree-page-backend-users',
163			'6-hideinmenu' => 'apps-pagetree-page-backend-users-hideinmenu',
164			'6-root' => 'apps-pagetree-page-backend-users-root',
165			'7' => 'apps-pagetree-page-mountpoint',
166			'7-hideinmenu' => 'apps-pagetree-page-mountpoint-hideinmenu',
167			'7-root' => 'apps-pagetree-page-mountpoint-root',
168			'199' => 'apps-pagetree-spacer',
169			'199-hideinmenu' => 'apps-pagetree-spacer',
170			'199-root' => 'apps-pagetree-page-domain',
171			'254' => 'apps-pagetree-folder-default',
172			'254-hideinmenu' => 'apps-pagetree-folder-default',
173			'254-root' => 'apps-pagetree-page-domain',
174			'255' => 'apps-pagetree-page-recycler',
175			'255-hideinmenu' => 'apps-pagetree-page-recycler',
176			'contains-shop' => 'apps-pagetree-folder-contains-shop',
177			'contains-approve' => 'apps-pagetree-folder-contains-approve',
178			'contains-fe_users' => 'apps-pagetree-folder-contains-fe_users',
179			'contains-board' => 'apps-pagetree-folder-contains-board',
180			'contains-news' => 'apps-pagetree-folder-contains-news',
181			'default' => 'apps-pagetree-page-default',
182
183		),
184		'typeicons' => array(
185			'1' => 'pages.gif',
186			'254' => 'sysf.gif',
187			'255' => 'recycler.gif',
188		)
189	),
190	'interface' => array(
191		'showRecordFieldList' => 'doktype,title',
192		'maxDBListItems' => 30,
193		'maxSingleDBListItems' => 50
194	),
195	'columns' => array(
196		'doktype' => array(
197			'exclude' => 1,
198			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
199			'config' => array(
200				'type' => 'select',
201				'items' => array(
202					array('LLL:EXT:lang/locallang_tca.php:doktype.I.0', '1', 'i/pages.gif'),
203					array('LLL:EXT:lang/locallang_tca.php:doktype.I.1', '254', 'i/sysf.gif'),
204					array('LLL:EXT:lang/locallang_tca.php:doktype.I.2', '255', 'i/recycler.gif')
205				),
206				'default' => '1',
207				'iconsInOptionTags' => 1,
208				'noIconsBelowSelect' => 1,
209			)
210		),
211		'title' => array(
212			'label' => 'LLL:EXT:lang/locallang_tca.php:title',
213			'config' => array(
214				'type' => 'input',
215				'size' => '30',
216				'max' => '255',
217				'eval' => 'required'
218			)
219		),
220		'TSconfig' => array(
221			'exclude' => 1,
222			'label' => 'TSconfig:',
223			'config' => array(
224				'type' => 'text',
225				'cols' => '40',
226				'rows' => '5',
227				'wizards' => array(
228					'_PADDING' => 4,
229					'0' => array(
230						'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
231						'title' => 'TSconfig QuickReference',
232						'script' => 'wizard_tsconfig.php?mode=page',
233						'icon' => 'wizard_tsconfig.gif',
234						'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
235					)
236				),
237				'softref' => 'TSconfig'
238			),
239			'defaultExtras' => 'fixed-font : enable-tab',
240		),
241		'php_tree_stop' => array(
242			'exclude' => 1,
243			'label' => 'LLL:EXT:lang/locallang_tca.php:php_tree_stop',
244			'config' => array(
245				'type' => 'check'
246			)
247		),
248		'is_siteroot' => array(
249			'exclude' => 1,
250			'label' => 'LLL:EXT:lang/locallang_tca.php:is_siteroot',
251			'config' => array(
252				'type' => 'check'
253			)
254		),
255		'storage_pid' => array(
256			'exclude' => 1,
257			'label' => 'LLL:EXT:lang/locallang_tca.php:storage_pid',
258			'config' => array(
259				'type' => 'group',
260				'internal_type' => 'db',
261				'allowed' => 'pages',
262				'size' => '1',
263				'maxitems' => '1',
264				'minitems' => '0',
265				'show_thumbs' => '1',
266				'wizards' => array(
267					'suggest' => array(
268						'type' => 'suggest',
269					),
270				),
271			)
272		),
273		'tx_impexp_origuid' => array('config'=>array('type'=>'passthrough')),
274		't3ver_label' => array(
275			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
276			'config' => array(
277				'type' => 'input',
278				'size' => '30',
279				'max' => '255',
280			)
281		),
282		'editlock' => array(
283			'exclude' => 1,
284			'label' => 'LLL:EXT:lang/locallang_tca.php:editlock',
285			'config' => array(
286				'type' => 'check'
287			)
288		),
289	),
290	'types' => array(
291		'1' => array('showitem' => 'doktype, title, TSconfig;;6;nowrap, storage_pid;;7'),
292		'254' => array('showitem' => 'doktype, title;LLL:EXT:lang/locallang_general.php:LGL.title, TSconfig;;6;nowrap, storage_pid;;7'),
293		'255' => array('showitem' => 'doktype, title, TSconfig;;6;nowrap, storage_pid;;7')
294	),
295	'palettes' => array(
296		'6' => array('showitem' => 'php_tree_stop, editlock'),
297		'7' => array('showitem' => 'is_siteroot')
298	)
299);
300
301/**
302 * Table "be_users":
303 * Backend Users for TYPO3.
304 * This is only the 'header' part (ctrl). The full configuration is found in t3lib/stddb/tbl_be.php
305 */
306$TCA['be_users'] = array(
307	'ctrl' => array(
308		'label' => 'username',
309		'tstamp' => 'tstamp',
310		'title' => 'LLL:EXT:lang/locallang_tca.php:be_users',
311		'crdate' => 'crdate',
312		'cruser_id' => 'cruser_id',
313		'delete' => 'deleted',
314		'adminOnly' => 1,	// Only admin users can edit
315		'rootLevel' => 1,
316		'default_sortby' => 'ORDER BY admin, username',
317		'enablecolumns' => array(
318			'disabled' => 'disable',
319			'starttime' => 'starttime',
320			'endtime' => 'endtime'
321		),
322		'type' => 'admin',
323		'typeicon_column' => 'admin',
324		'typeicons' => array(
325			'0' => 'be_users.gif',
326			'1' => 'be_users_admin.gif'
327		),
328		'typeicon_classes' => array(
329			'0' => 'status-user-backend',
330			'1' => 'status-user-admin',
331			'default' => 'status-user-backend',
332		),
333		'mainpalette' => '1',
334		'useColumnsForDefaultValues' => 'usergroup,lockToDomain,options,db_mountpoints,file_mountpoints,fileoper_perms,userMods',
335		'dividers2tabs' => true,
336		'dynamicConfigFile' => 'T3LIB:tbl_be.php',
337		'versioningWS_alwaysAllowLiveEdit' => TRUE
338	)
339);
340
341/**
342 * Table "be_groups":
343 * Backend Usergroups for TYPO3.
344 * This is only the 'header' part (ctrl). The full configuration is found in t3lib/stddb/tbl_be.php
345 */
346$TCA['be_groups'] = array(
347	'ctrl' => array(
348		'label' => 'title',
349		'tstamp' => 'tstamp',
350		'crdate' => 'crdate',
351		'cruser_id' => 'cruser_id',
352		'delete' => 'deleted',
353		'default_sortby' => 'ORDER BY title',
354		'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
355		'adminOnly' => 1,
356		'rootLevel' => 1,
357		'type' => 'inc_access_lists',
358		'typeicon_column' => 'inc_access_lists',
359		'typeicons' => array(
360			'1' => 'be_groups_lists.gif'
361		),
362		'typeicon_classes' => array(
363			'default' => 'status-user-group-backend',
364		),
365		'enablecolumns' => array(
366			'disabled' => 'hidden'
367		),
368		'title' => 'LLL:EXT:lang/locallang_tca.php:be_groups',
369		'useColumnsForDefaultValues' => 'lockToDomain, fileoper_perms',
370		'dividers2tabs' => true,
371		'dynamicConfigFile' => 'T3LIB:tbl_be.php',
372		'versioningWS_alwaysAllowLiveEdit' => TRUE
373	)
374);
375
376/**
377 * Table "sys_filemounts":
378 * Defines filepaths on the server which can be mounted for users so they can upload and manage files online by eg. the Filelist module
379 * This is only the 'header' part (ctrl). The full configuration is found in t3lib/stddb/tbl_be.php
380 */
381$TCA['sys_filemounts'] = array(
382	'ctrl' => array(
383		'label' => 'title',
384		'tstamp' => 'tstamp',
385		'sortby' => 'sorting',
386		'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
387		'title' => 'LLL:EXT:lang/locallang_tca.php:sys_filemounts',
388		'adminOnly' => 1,
389		'rootLevel' => 1,
390		'delete' => 'deleted',
391		'enablecolumns' => array(
392			'disabled' => 'hidden'
393		),
394		'iconfile' => '_icon_ftp.gif',
395		'useColumnsForDefaultValues' => 'path,base',
396		'dynamicConfigFile' => 'T3LIB:tbl_be.php',
397		'versioningWS_alwaysAllowLiveEdit' => TRUE
398	)
399);
400
401
402/**
403 * Table "sys_languages":
404 * Defines possible languages used for translation of records in the system
405 * This is only the 'header' part (ctrl). The full configuration is found in t3lib/stddb/tbl_be.php
406 */
407$TCA['sys_language'] = array(
408	'ctrl' => array(
409		'label' => 'title',
410		'tstamp' => 'tstamp',
411		'default_sortby' => 'ORDER BY title',
412		'title' => 'LLL:EXT:lang/locallang_tca.php:sys_language',
413		'adminOnly' => 1,
414		'rootLevel' => 1,
415		'enablecolumns' => array(
416			'disabled' => 'hidden'
417		),
418		'typeicon_classes' => array(
419			'default' => 'mimetypes-x-sys_language',
420		),
421		'dynamicConfigFile' => 'T3LIB:tbl_be.php',
422		'versioningWS_alwaysAllowLiveEdit' => TRUE
423	)
424);
425
426
427
428
429
430
431
432
433
434
435
436
437/**
438 * $TBE_MODULES contains the structure of the backend modules as they are arranged in main- and sub-modules.
439 * Every entry in this array represents a menu item on either first (key) or second level (value from list) in the left menu in the TYPO3 backend
440 * For information about adding modules to TYPO3 you should consult the documentation found in "Inside TYPO3"
441 */
442$TBE_MODULES = array(
443	'web' => 'list,info,perm,func',
444	'file' => 'list',
445	'user' => 'ws',
446	'tools' => 'em',
447	'help' => 'about,cshmanual'
448);
449
450
451/**
452 * $TBE_STYLES configures backend styles and colors; Basically this contains all the values that can be used to create new skins for TYPO3.
453 * For information about making skins to TYPO3 you should consult the documentation found in "Inside TYPO3"
454 */
455$TBE_STYLES = array(
456	'colorschemes' => array(
457		'0' => '#E4E0DB,#CBC7C3,#EDE9E5',
458	),
459	'borderschemes' => array(
460		'0' => array('border:solid 1px black;',5)
461	)
462);
463
464
465/**
466 * Setting up $TCA_DESCR - Context Sensitive Help (CSH)
467 * For information about using the CSH API in TYPO3 you should consult the documentation found in "Inside TYPO3"
468 */
469t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:lang/locallang_csh_pages.xml');
470t3lib_extMgm::addLLrefForTCAdescr('be_users','EXT:lang/locallang_csh_be_users.xml');
471t3lib_extMgm::addLLrefForTCAdescr('be_groups','EXT:lang/locallang_csh_be_groups.xml');
472t3lib_extMgm::addLLrefForTCAdescr('sys_filemounts','EXT:lang/locallang_csh_sysfilem.xml');
473t3lib_extMgm::addLLrefForTCAdescr('sys_language','EXT:lang/locallang_csh_syslang.xml');
474t3lib_extMgm::addLLrefForTCAdescr('sys_workspace','EXT:lang/locallang_csh_sysws.xml');
475t3lib_extMgm::addLLrefForTCAdescr('xMOD_csh_corebe','EXT:lang/locallang_csh_corebe.xml');	// General Core
476t3lib_extMgm::addLLrefForTCAdescr('_MOD_tools_em','EXT:lang/locallang_csh_em.xml');		// Extension manager
477t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:lang/locallang_csh_web_info.xml');		// Web > Info
478t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:lang/locallang_csh_web_func.xml');		// Web > Func
479
480
481/**
482 * $FILEICONS defines icons for the various file-formats
483 */
484$FILEICONS = array(
485	'txt' => 'txt.gif',
486	'pdf' => 'pdf.gif',
487	'doc' => 'doc.gif',
488	'ai' => 'ai.gif',
489	'bmp' => 'bmp.gif',
490	'tif' => 'tif.gif',
491	'htm' => 'htm.gif',
492	'html' => 'html.gif',
493	'pcd' => 'pcd.gif',
494	'gif' => 'gif.gif',
495	'jpg' => 'jpg.gif',
496	'jpeg' => 'jpg.gif',
497	'mpg' => 'mpg.gif',
498	'mpeg' => 'mpeg.gif',
499	'exe' => 'exe.gif',
500	'com' => 'exe.gif',
501	'zip' => 'zip.gif',
502	'tgz' => 'zip.gif',
503	'gz' => 'zip.gif',
504	'php3' => 'php3.gif',
505	'php4' => 'php3.gif',
506	'php5' => 'php3.gif',
507	'php6' => 'php3.gif',
508	'php' => 'php3.gif',
509	'ppt' => 'ppt.gif',
510	'ttf' => 'ttf.gif',
511	'pcx' => 'pcx.gif',
512	'png' => 'png.gif',
513	'tga' => 'tga.gif',
514	'class' => 'java.gif',
515	'sxc' => 'sxc.gif',
516	'sxw' => 'sxw.gif',
517	'xls' => 'xls.gif',
518	'swf' => 'swf.gif',
519	'swa' => 'flash.gif',
520	'dcr' => 'flash.gif',
521	'wav' => 'wav.gif',
522	'mp3' => 'mp3.gif',
523	'avi' => 'avi.gif',
524	'au' => 'au.gif',
525	'mov' => 'mov.gif',
526	'3ds' => '3ds.gif',
527	'csv' => 'csv.gif',
528	'ico' => 'ico.gif',
529	'max' => 'max.gif',
530	'ps' => 'ps.gif',
531	'tmpl' => 'tmpl.gif',
532	'xls' => 'xls.gif',
533	'fh3' => 'fh3.gif',
534	'inc' => 'inc.gif',
535	'mid' => 'mid.gif',
536	'psd' => 'psd.gif',
537	'xml' => 'xml.gif',
538	'rtf' => 'rtf.gif',
539	't3x' => 't3x.gif',
540	't3d' => 't3d.gif',
541	'cdr' => 'cdr.gif',
542	'dtd' => 'dtd.gif',
543	'sgml' => 'sgml.gif',
544	'ani' => 'ani.gif',
545	'css' => 'css.gif',
546	'eps' => 'eps.gif',
547	'js' => 'js.gif',
548	'wrl' => 'wrl.gif',
549	'default' => 'default.gif'
550);
551
552/**
553 * backend sprite icon-names
554 */
555$GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'] = array(
556	'actions-document-close',
557	'actions-document-duplicates-select',
558	'actions-document-edit-access',
559	'actions-document-export-csv',
560	'actions-document-export-t3d',
561	'actions-document-history-open',
562	'actions-document-import-t3d',
563	'actions-document-info',
564	'actions-document-localize',
565	'actions-document-move',
566	'actions-document-new',
567	'actions-document-open',
568	'actions-document-open-read-only',
569	'actions-document-paste-after',
570	'actions-document-paste-into',
571	'actions-document-save',
572	'actions-document-save-close',
573	'actions-document-save-new',
574	'actions-document-save-view',
575	'actions-document-select',
576	'actions-document-view',
577	'actions-edit-add',
578	'actions-edit-copy',
579	'actions-edit-copy-release',
580	'actions-edit-cut',
581	'actions-edit-cut-release',
582	'actions-edit-delete',
583	'actions-edit-hide',
584	'actions-edit-insert-default',
585	'actions-edit-localize-status-high',
586	'actions-edit-localize-status-low',
587	'actions-edit-pick-date',
588	'actions-edit-rename',
589	'actions-edit-restore',
590	'actions-edit-undelete-edit',
591	'actions-edit-undo',
592	'actions-edit-unhide',
593	'actions-edit-upload',
594	'actions-insert-record',
595	'actions-insert-reference',
596	'actions-move-down',
597	'actions-move-left',
598	'actions-move-move',
599	'actions-move-right',
600	'actions-move-to-bottom',
601	'actions-move-to-top',
602	'actions-move-up',
603	'actions-page-move',
604	'actions-page-new',
605	'actions-page-open',
606	'actions-selection-delete',
607	'actions-system-backend-user-emulate',
608	'actions-system-backend-user-switch',
609	'actions-system-cache-clear',
610	'actions-system-cache-clear-impact-high',
611	'actions-system-cache-clear-impact-low',
612	'actions-system-cache-clear-impact-medium',
613	'actions-system-cache-clear-rte',
614	'actions-system-extension-documentation',
615	'actions-system-extension-download',
616	'actions-system-extension-import',
617	'actions-system-extension-install',
618	'actions-system-extension-uninstall',
619	'actions-system-extension-update',
620	'actions-system-help-open',
621	'actions-system-list-open',
622	'actions-system-options-view',
623	'actions-system-refresh',
624	'actions-system-shortcut-new',
625	'actions-system-tree-search-open',
626	'actions-system-typoscript-documentation',
627	'actions-system-typoscript-documentation-open',
628	'actions-template-new',
629	'actions-version-document-remove',
630	'actions-version-page-open',
631	'actions-version-swap-version',
632	'actions-version-swap-workspace',
633	'actions-view-go-back',
634	'actions-view-go-down',
635	'actions-view-go-forward',
636	'actions-view-go-up',
637	'actions-view-list-collapse',
638	'actions-view-list-expand',
639	'actions-view-paging-first',
640	'actions-view-paging-first-disabled',
641	'actions-view-paging-last',
642	'actions-view-paging-last-disabled',
643	'actions-view-paging-next',
644	'actions-view-paging-next-disabled',
645	'actions-view-paging-previous',
646	'actions-view-paging-previous-disabled',
647	'actions-view-table-collapse',
648	'actions-view-table-expand',
649	'actions-window-open',
650	'apps-clipboard-images',
651	'apps-clipboard-list',
652	'apps-filetree-folder-add',
653	'apps-filetree-folder-default',
654	'apps-filetree-folder-list',
655	'apps-filetree-folder-locked',
656	'apps-filetree-folder-media',
657	'apps-filetree-folder-news',
658	'apps-filetree-folder-temp',
659	'apps-filetree-folder-user',
660	'apps-filetree-mount',
661	'apps-filetree-root',
662	'apps-pagetree-backend-user',
663	'apps-pagetree-backend-user-hideinmenu',
664	'apps-pagetree-drag-move-between',
665	'apps-pagetree-drag-move-into',
666	'apps-pagetree-drag-new-between',
667	'apps-pagetree-drag-new-inside',
668	'apps-pagetree-drag-place-denied',
669	'apps-pagetree-folder-contains-approve',
670	'apps-pagetree-folder-contains-board',
671	'apps-pagetree-folder-contains-fe_users',
672	'apps-pagetree-folder-contains-news',
673	'apps-pagetree-folder-contains-shop',
674	'apps-pagetree-folder-default',
675	'apps-pagetree-page-advanced',
676	'apps-pagetree-page-advanced-hideinmenu',
677	'apps-pagetree-page-advanced-root',
678	'apps-pagetree-page-backend-users',
679	'apps-pagetree-page-backend-users-hideinmenu',
680	'apps-pagetree-page-backend-users-root',
681	'apps-pagetree-page-default',
682	'apps-pagetree-page-domain',
683	'apps-pagetree-page-frontend-user',
684	'apps-pagetree-page-frontend-user-hideinmenu',
685	'apps-pagetree-page-frontend-user-root',
686	'apps-pagetree-page-frontend-users',
687	'apps-pagetree-page-frontend-users-hideinmenu',
688	'apps-pagetree-page-frontend-users-root',
689	'apps-pagetree-page-mountpoint',
690	'apps-pagetree-page-mountpoint-hideinmenu',
691	'apps-pagetree-page-mountpoint-root',
692	'apps-pagetree-page-no-icon-found',
693	'apps-pagetree-page-no-icon-found-hideinmenu',
694	'apps-pagetree-page-no-icon-found-root',
695	'apps-pagetree-page-not-in-menu',
696	'apps-pagetree-page-recycler',
697	'apps-pagetree-page-shortcut',
698	'apps-pagetree-page-shortcut-external',
699	'apps-pagetree-page-shortcut-external-hideinmenu',
700	'apps-pagetree-page-shortcut-external-root',
701	'apps-pagetree-page-shortcut-hideinmenu',
702	'apps-pagetree-page-shortcut-root',
703	'apps-pagetree-root',
704	'apps-pagetree-spacer',
705	'apps-toolbar-menu-actions',
706	'apps-toolbar-menu-cache',
707	'apps-toolbar-menu-opendocs',
708	'apps-toolbar-menu-search',
709	'apps-toolbar-menu-shortcut',
710	'apps-toolbar-menu-workspace',
711	'mimetypes-compressed',
712	'mimetypes-excel',
713	'mimetypes-media-audio',
714	'mimetypes-media-flash',
715	'mimetypes-media-image',
716	'mimetypes-media-video',
717	'mimetypes-other-other',
718	'mimetypes-pdf',
719	'mimetypes-powerpoint',
720	'mimetypes-text-css',
721	'mimetypes-text-csv',
722	'mimetypes-text-html',
723	'mimetypes-text-js',
724	'mimetypes-text-php',
725	'mimetypes-text-text',
726	'mimetypes-x-content-divider',
727	'mimetypes-x-content-domain',
728	'mimetypes-x-content-form',
729	'mimetypes-x-content-form-search',
730	'mimetypes-x-content-header',
731	'mimetypes-x-content-html',
732	'mimetypes-x-content-image',
733	'mimetypes-x-content-link',
734	'mimetypes-x-content-list-bullets',
735	'mimetypes-x-content-list-files',
736	'mimetypes-x-content-login',
737	'mimetypes-x-content-menu',
738	'mimetypes-x-content-multimedia',
739	'mimetypes-x-content-page-language-overlay',
740	'mimetypes-x-content-plugin',
741	'mimetypes-x-content-script',
742	'mimetypes-x-content-table',
743	'mimetypes-x-content-template',
744	'mimetypes-x-content-template-extension',
745	'mimetypes-x-content-template-static',
746	'mimetypes-x-content-text',
747	'mimetypes-x-content-text-picture',
748	'mimetypes-x-sys_action',
749	'mimetypes-x-sys_language',
750	'mimetypes-x-sys_workspace',
751	'places-folder-closed',
752	'places-folder-opened',
753	'status-dialog-error',
754	'status-dialog-information',
755	'status-dialog-notification',
756	'status-dialog-ok',
757	'status-dialog-warning',
758	'status-overlay-access-restricted',
759	'status-overlay-deleted',
760	'status-overlay-hidden',
761	'status-overlay-icon-missing',
762	'status-overlay-includes-subpages',
763	'status-overlay-locked',
764	'status-overlay-scheduled',
765	'status-overlay-scheduled-future-end',
766	'status-overlay-translated',
767	'status-status-checked',
768	'status-status-current',
769	'status-status-edit-read-only',
770	'status-status-icon-missing',
771	'status-status-locked',
772	'status-status-permission-denied',
773	'status-status-permission-granted',
774	'status-status-reference-hard',
775	'status-status-reference-soft',
776	'status-status-workspace-draft',
777	'status-system-extension-required',
778	'status-user-admin',
779	'status-user-backend',
780	'status-user-frontend',
781	'status-user-group-backend',
782	'status-user-group-frontend',
783	'status-version-1',
784	'status-version-10',
785	'status-version-11',
786	'status-version-12',
787	'status-version-13',
788	'status-version-14',
789	'status-version-15',
790	'status-version-16',
791	'status-version-17',
792	'status-version-18',
793	'status-version-19',
794	'status-version-2',
795	'status-version-20',
796	'status-version-21',
797	'status-version-22',
798	'status-version-23',
799	'status-version-24',
800	'status-version-25',
801	'status-version-26',
802	'status-version-27',
803	'status-version-28',
804	'status-version-29',
805	'status-version-3',
806	'status-version-30',
807	'status-version-31',
808	'status-version-32',
809	'status-version-33',
810	'status-version-34',
811	'status-version-35',
812	'status-version-36',
813	'status-version-37',
814	'status-version-38',
815	'status-version-39',
816	'status-version-4',
817	'status-version-40',
818	'status-version-41',
819	'status-version-42',
820	'status-version-43',
821	'status-version-44',
822	'status-version-45',
823	'status-version-46',
824	'status-version-47',
825	'status-version-48',
826	'status-version-49',
827	'status-version-5',
828	'status-version-50',
829	'status-version-6',
830	'status-version-7',
831	'status-version-8',
832	'status-version-9',
833	'status-version-no-version',
834	'status-warning-in-use',
835	'status-warning-lock'
836);
837
838$GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'] = array('hidden', 'starttime', 'endtime', 'futureendtime', 'fe_group', 'protectedSection');
839$GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'] = array(
840	'hidden'           => 'status-overlay-hidden',
841	'fe_group'         => 'status-overlay-access-restricted',
842	'starttime'        => 'status-overlay-scheduled',
843	'endtime'          => 'status-overlay-scheduled',
844	'futureendtime'    => 'status-overlay-scheduled-future-end',
845	'readonly'         => 'status-overlay-locked',
846	'deleted'          => 'status-overlay-deleted',
847	'missing'          => 'status-overlay-missing',
848	'translated'       => 'status-overlay-translated',
849	'protectedSection' => 'status-overlay-includes-subpages',
850);
851
852?>