Added feature #15812: Add backend maintenance for login news
[Packages/TYPO3.CMS.git] / t3lib / stddb / tables.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 1999-2010 Kasper Skårhøj (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 Skårhøj
46 *
47 * @author Kasper Skårhøj <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 * NOTE: usage of 'icon' is deprecated since TYPO3 4.4, use t3lib_SpriteManager::addTcaTypeIcon() instead
59 */
60 $PAGES_TYPES = array(
61 '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.
62 'type' => 'sys',
63 'allowedTables' => '*'
64 ),
65 '255' => array( // Doktype 255 is a recycle-bin.
66 'type' => 'sys',
67 'allowedTables' => '*'
68 ),
69 'default' => array(
70 'type' => 'web',
71 'allowedTables' => 'pages',
72 'onlyAllowedTables' => '0'
73 )
74 );
75
76
77 /**
78 * With $ICON_TYPES you can assign alternative icons to pages records based on another field than 'doktype'
79 * 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"
80 *
81 * @see t3lib_iconWorks::getIcon(), typo3/sysext/cms/ext_tables.php
82 * @deprecated since TYPO3 4.4, use t3lib_SpriteManager::addTcaTypeIcon instead
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 * Table "sys_news":
429 * Holds news records to be displayed in the login screen
430 * This is only the 'header' part (ctrl). The full configuration is found
431 * in t3lib/stddb/tbl_be.php
432 */
433 $TCA['sys_news'] = array(
434 'ctrl' => array(
435 'title' => 'LLL:EXT:lang/locallang_tca.xml:sys_news',
436 'label' => 'title',
437 'tstamp' => 'tstamp',
438 'crdate' => 'crdate',
439 'cruser_id' => 'cruser_id',
440 'adminOnly' => TRUE,
441 'rootLevel' => TRUE,
442 'delete' => 'deleted',
443 'enablecolumns' => array(
444 'disabled' => 'hidden',
445 'starttime' => 'starttime',
446 'endtime' => 'endtime'
447 ),
448 'default_sortby' => 'crdate DESC',
449 'typeicon_classes' => array(
450 'default' => 'mimetypes-x-sys_news',
451 ),
452 'dynamicConfigFile' => 'T3LIB:tbl_be.php',
453 'dividers2tabs' => TRUE
454 )
455 );
456
457
458
459
460
461
462
463
464
465
466 /**
467 * $TBE_MODULES contains the structure of the backend modules as they are arranged in main- and sub-modules.
468 * 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
469 * For information about adding modules to TYPO3 you should consult the documentation found in "Inside TYPO3"
470 */
471 $TBE_MODULES = array(
472 'web' => 'list,info,perm,func',
473 'file' => 'list',
474 'user' => 'ws',
475 'tools' => 'em',
476 'help' => 'about,cshmanual'
477 );
478
479
480 /**
481 * $TBE_STYLES configures backend styles and colors; Basically this contains all the values that can be used to create new skins for TYPO3.
482 * For information about making skins to TYPO3 you should consult the documentation found in "Inside TYPO3"
483 */
484 $TBE_STYLES = array(
485 'colorschemes' => array(
486 '0' => '#E4E0DB,#CBC7C3,#EDE9E5',
487 ),
488 'borderschemes' => array(
489 '0' => array('border:solid 1px black;',5)
490 )
491 );
492
493
494 /**
495 * Setting up $TCA_DESCR - Context Sensitive Help (CSH)
496 * For information about using the CSH API in TYPO3 you should consult the documentation found in "Inside TYPO3"
497 */
498 t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:lang/locallang_csh_pages.xml');
499 t3lib_extMgm::addLLrefForTCAdescr('be_users','EXT:lang/locallang_csh_be_users.xml');
500 t3lib_extMgm::addLLrefForTCAdescr('be_groups','EXT:lang/locallang_csh_be_groups.xml');
501 t3lib_extMgm::addLLrefForTCAdescr('sys_filemounts','EXT:lang/locallang_csh_sysfilem.xml');
502 t3lib_extMgm::addLLrefForTCAdescr('sys_language','EXT:lang/locallang_csh_syslang.xml');
503 t3lib_extMgm::addLLrefForTCAdescr('sys_news','EXT:lang/locallang_csh_sysnews.xml');
504 t3lib_extMgm::addLLrefForTCAdescr('sys_workspace','EXT:lang/locallang_csh_sysws.xml');
505 t3lib_extMgm::addLLrefForTCAdescr('xMOD_csh_corebe','EXT:lang/locallang_csh_corebe.xml'); // General Core
506 t3lib_extMgm::addLLrefForTCAdescr('_MOD_tools_em','EXT:lang/locallang_csh_em.xml'); // Extension manager
507 t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:lang/locallang_csh_web_info.xml'); // Web > Info
508 t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:lang/locallang_csh_web_func.xml'); // Web > Func
509
510
511 /**
512 * $FILEICONS defines icons for the various file-formats
513 */
514 $FILEICONS = array(
515 'txt' => 'txt.gif',
516 'pdf' => 'pdf.gif',
517 'doc' => 'doc.gif',
518 'ai' => 'ai.gif',
519 'bmp' => 'bmp.gif',
520 'tif' => 'tif.gif',
521 'htm' => 'htm.gif',
522 'html' => 'html.gif',
523 'pcd' => 'pcd.gif',
524 'gif' => 'gif.gif',
525 'jpg' => 'jpg.gif',
526 'jpeg' => 'jpg.gif',
527 'mpg' => 'mpg.gif',
528 'mpeg' => 'mpeg.gif',
529 'exe' => 'exe.gif',
530 'com' => 'exe.gif',
531 'zip' => 'zip.gif',
532 'tgz' => 'zip.gif',
533 'gz' => 'zip.gif',
534 'php3' => 'php3.gif',
535 'php4' => 'php3.gif',
536 'php5' => 'php3.gif',
537 'php6' => 'php3.gif',
538 'php' => 'php3.gif',
539 'ppt' => 'ppt.gif',
540 'ttf' => 'ttf.gif',
541 'pcx' => 'pcx.gif',
542 'png' => 'png.gif',
543 'tga' => 'tga.gif',
544 'class' => 'java.gif',
545 'sxc' => 'sxc.gif',
546 'sxw' => 'sxw.gif',
547 'xls' => 'xls.gif',
548 'swf' => 'swf.gif',
549 'swa' => 'flash.gif',
550 'dcr' => 'flash.gif',
551 'wav' => 'wav.gif',
552 'mp3' => 'mp3.gif',
553 'avi' => 'avi.gif',
554 'au' => 'au.gif',
555 'mov' => 'mov.gif',
556 '3ds' => '3ds.gif',
557 'csv' => 'csv.gif',
558 'ico' => 'ico.gif',
559 'max' => 'max.gif',
560 'ps' => 'ps.gif',
561 'tmpl' => 'tmpl.gif',
562 'xls' => 'xls.gif',
563 'fh3' => 'fh3.gif',
564 'inc' => 'inc.gif',
565 'mid' => 'mid.gif',
566 'psd' => 'psd.gif',
567 'xml' => 'xml.gif',
568 'rtf' => 'rtf.gif',
569 't3x' => 't3x.gif',
570 't3d' => 't3d.gif',
571 'cdr' => 'cdr.gif',
572 'dtd' => 'dtd.gif',
573 'sgml' => 'sgml.gif',
574 'ani' => 'ani.gif',
575 'css' => 'css.gif',
576 'eps' => 'eps.gif',
577 'js' => 'js.gif',
578 'wrl' => 'wrl.gif',
579 'default' => 'default.gif'
580 );
581
582 /**
583 * backend sprite icon-names
584 */
585 $GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'] = array(
586 'actions-document-close',
587 'actions-document-duplicates-select',
588 'actions-document-edit-access',
589 'actions-document-export-csv',
590 'actions-document-export-t3d',
591 'actions-document-history-open',
592 'actions-document-import-t3d',
593 'actions-document-info',
594 'actions-document-localize',
595 'actions-document-move',
596 'actions-document-new',
597 'actions-document-open',
598 'actions-document-open-read-only',
599 'actions-document-paste-after',
600 'actions-document-paste-into',
601 'actions-document-save',
602 'actions-document-save-close',
603 'actions-document-save-new',
604 'actions-document-save-view',
605 'actions-document-select',
606 'actions-document-view',
607 'actions-edit-add',
608 'actions-edit-copy',
609 'actions-edit-copy-release',
610 'actions-edit-cut',
611 'actions-edit-cut-release',
612 'actions-edit-delete',
613 'actions-edit-hide',
614 'actions-edit-insert-default',
615 'actions-edit-localize-status-high',
616 'actions-edit-localize-status-low',
617 'actions-edit-pick-date',
618 'actions-edit-rename',
619 'actions-edit-restore',
620 'actions-edit-undelete-edit',
621 'actions-edit-undo',
622 'actions-edit-unhide',
623 'actions-edit-upload',
624 'actions-insert-record',
625 'actions-insert-reference',
626 'actions-move-down',
627 'actions-move-left',
628 'actions-move-move',
629 'actions-move-right',
630 'actions-move-to-bottom',
631 'actions-move-to-top',
632 'actions-move-up',
633 'actions-page-move',
634 'actions-page-new',
635 'actions-page-open',
636 'actions-selection-delete',
637 'actions-system-backend-user-emulate',
638 'actions-system-backend-user-switch',
639 'actions-system-cache-clear',
640 'actions-system-cache-clear-impact-high',
641 'actions-system-cache-clear-impact-low',
642 'actions-system-cache-clear-impact-medium',
643 'actions-system-cache-clear-rte',
644 'actions-system-extension-documentation',
645 'actions-system-extension-download',
646 'actions-system-extension-import',
647 'actions-system-extension-install',
648 'actions-system-extension-uninstall',
649 'actions-system-extension-update',
650 'actions-system-help-open',
651 'actions-system-list-open',
652 'actions-system-options-view',
653 'actions-system-pagemodule-open',
654 'actions-system-refresh',
655 'actions-system-shortcut-new',
656 'actions-system-tree-search-open',
657 'actions-system-typoscript-documentation',
658 'actions-system-typoscript-documentation-open',
659 'actions-template-new',
660 'actions-version-document-remove',
661 'actions-version-page-open',
662 'actions-version-swap-version',
663 'actions-version-swap-workspace',
664 'actions-version-workspace-preview',
665 'actions-version-workspace-sendtostage',
666 'actions-view-go-back',
667 'actions-view-go-down',
668 'actions-view-go-forward',
669 'actions-view-go-up',
670 'actions-view-list-collapse',
671 'actions-view-list-expand',
672 'actions-view-paging-first',
673 'actions-view-paging-first-disabled',
674 'actions-view-paging-last',
675 'actions-view-paging-last-disabled',
676 'actions-view-paging-next',
677 'actions-view-paging-next-disabled',
678 'actions-view-paging-previous',
679 'actions-view-paging-previous-disabled',
680 'actions-view-table-collapse',
681 'actions-view-table-expand',
682 'actions-window-open',
683 'apps-clipboard-images',
684 'apps-clipboard-list',
685 'apps-filetree-folder-add',
686 'apps-filetree-folder-default',
687 'apps-filetree-folder-list',
688 'apps-filetree-folder-locked',
689 'apps-filetree-folder-media',
690 'apps-filetree-folder-news',
691 'apps-filetree-folder-recycler',
692 'apps-filetree-folder-temp',
693 'apps-filetree-folder-user',
694 'apps-filetree-mount',
695 'apps-filetree-root',
696 'apps-pagetree-backend-user',
697 'apps-pagetree-backend-user-hideinmenu',
698 'apps-pagetree-drag-move-between',
699 'apps-pagetree-drag-move-into',
700 'apps-pagetree-drag-new-between',
701 'apps-pagetree-drag-new-inside',
702 'apps-pagetree-drag-place-denied',
703 'apps-pagetree-folder-contains-approve',
704 'apps-pagetree-folder-contains-board',
705 'apps-pagetree-folder-contains-fe_users',
706 'apps-pagetree-folder-contains-news',
707 'apps-pagetree-folder-contains-shop',
708 'apps-pagetree-folder-default',
709 'apps-pagetree-page-advanced',
710 'apps-pagetree-page-advanced-hideinmenu',
711 'apps-pagetree-page-advanced-root',
712 'apps-pagetree-page-backend-users',
713 'apps-pagetree-page-backend-users-hideinmenu',
714 'apps-pagetree-page-backend-users-root',
715 'apps-pagetree-page-default',
716 'apps-pagetree-page-domain',
717 'apps-pagetree-page-frontend-user',
718 'apps-pagetree-page-frontend-user-hideinmenu',
719 'apps-pagetree-page-frontend-user-root',
720 'apps-pagetree-page-frontend-users',
721 'apps-pagetree-page-frontend-users-hideinmenu',
722 'apps-pagetree-page-frontend-users-root',
723 'apps-pagetree-page-mountpoint',
724 'apps-pagetree-page-mountpoint-hideinmenu',
725 'apps-pagetree-page-mountpoint-root',
726 'apps-pagetree-page-no-icon-found',
727 'apps-pagetree-page-no-icon-found-hideinmenu',
728 'apps-pagetree-page-no-icon-found-root',
729 'apps-pagetree-page-not-in-menu',
730 'apps-pagetree-page-recycler',
731 'apps-pagetree-page-shortcut',
732 'apps-pagetree-page-shortcut-external',
733 'apps-pagetree-page-shortcut-external-hideinmenu',
734 'apps-pagetree-page-shortcut-external-root',
735 'apps-pagetree-page-shortcut-hideinmenu',
736 'apps-pagetree-page-shortcut-root',
737 'apps-pagetree-root',
738 'apps-pagetree-spacer',
739 'apps-toolbar-menu-actions',
740 'apps-toolbar-menu-cache',
741 'apps-toolbar-menu-opendocs',
742 'apps-toolbar-menu-search',
743 'apps-toolbar-menu-shortcut',
744 'apps-toolbar-menu-workspace',
745 'mimetypes-compressed',
746 'mimetypes-excel',
747 'mimetypes-media-audio',
748 'mimetypes-media-flash',
749 'mimetypes-media-image',
750 'mimetypes-media-video',
751 'mimetypes-other-other',
752 'mimetypes-pdf',
753 'mimetypes-powerpoint',
754 'mimetypes-text-css',
755 'mimetypes-text-csv',
756 'mimetypes-text-html',
757 'mimetypes-text-js',
758 'mimetypes-text-php',
759 'mimetypes-text-text',
760 'mimetypes-x-content-divider',
761 'mimetypes-x-content-domain',
762 'mimetypes-x-content-form',
763 'mimetypes-x-content-form-search',
764 'mimetypes-x-content-header',
765 'mimetypes-x-content-html',
766 'mimetypes-x-content-image',
767 'mimetypes-x-content-link',
768 'mimetypes-x-content-list-bullets',
769 'mimetypes-x-content-list-files',
770 'mimetypes-x-content-login',
771 'mimetypes-x-content-menu',
772 'mimetypes-x-content-multimedia',
773 'mimetypes-x-content-page-language-overlay',
774 'mimetypes-x-content-plugin',
775 'mimetypes-x-content-script',
776 'mimetypes-x-content-table',
777 'mimetypes-x-content-template',
778 'mimetypes-x-content-template-extension',
779 'mimetypes-x-content-template-static',
780 'mimetypes-x-content-text',
781 'mimetypes-x-content-text-picture',
782 'mimetypes-x-sys_action',
783 'mimetypes-x-sys_language',
784 'mimetypes-x-sys_workspace',
785 'places-folder-closed',
786 'places-folder-opened',
787 'status-dialog-error',
788 'status-dialog-information',
789 'status-dialog-notification',
790 'status-dialog-ok',
791 'status-dialog-warning',
792 'status-overlay-access-restricted',
793 'status-overlay-deleted',
794 'status-overlay-hidden',
795 'status-overlay-icon-missing',
796 'status-overlay-includes-subpages',
797 'status-overlay-locked',
798 'status-overlay-scheduled',
799 'status-overlay-scheduled-future-end',
800 'status-overlay-translated',
801 'status-status-checked',
802 'status-status-current',
803 'status-status-edit-read-only',
804 'status-status-icon-missing',
805 'status-status-locked',
806 'status-status-permission-denied',
807 'status-status-permission-granted',
808 'status-status-reference-hard',
809 'status-status-reference-soft',
810 'status-status-workspace-draft',
811 'status-system-extension-required',
812 'status-user-admin',
813 'status-user-backend',
814 'status-user-frontend',
815 'status-user-group-backend',
816 'status-user-group-frontend',
817 'status-version-1',
818 'status-version-2',
819 'status-version-3',
820 'status-version-4',
821 'status-version-5',
822 'status-version-6',
823 'status-version-7',
824 'status-version-8',
825 'status-version-9',
826 'status-version-10',
827 'status-version-11',
828 'status-version-12',
829 'status-version-13',
830 'status-version-14',
831 'status-version-15',
832 'status-version-16',
833 'status-version-17',
834 'status-version-18',
835 'status-version-19',
836 'status-version-20',
837 'status-version-21',
838 'status-version-22',
839 'status-version-23',
840 'status-version-24',
841 'status-version-25',
842 'status-version-26',
843 'status-version-27',
844 'status-version-28',
845 'status-version-29',
846 'status-version-30',
847 'status-version-31',
848 'status-version-32',
849 'status-version-33',
850 'status-version-34',
851 'status-version-35',
852 'status-version-36',
853 'status-version-37',
854 'status-version-38',
855 'status-version-39',
856 'status-version-40',
857 'status-version-41',
858 'status-version-42',
859 'status-version-43',
860 'status-version-44',
861 'status-version-45',
862 'status-version-46',
863 'status-version-47',
864 'status-version-48',
865 'status-version-49',
866 'status-version-50',
867 'status-version-no-version',
868 'status-warning-in-use',
869 'status-warning-lock'
870 );
871
872
873 $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'] = array('hidden', 'starttime', 'endtime', 'futureendtime', 'fe_group', 'protectedSection');
874 $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'] = array(
875 'hidden' => 'status-overlay-hidden',
876 'fe_group' => 'status-overlay-access-restricted',
877 'starttime' => 'status-overlay-scheduled',
878 'endtime' => 'status-overlay-scheduled',
879 'futureendtime' => 'status-overlay-scheduled-future-end',
880 'readonly' => 'status-overlay-locked',
881 'deleted' => 'status-overlay-deleted',
882 'missing' => 'status-overlay-missing',
883 'translated' => 'status-overlay-translated',
884 'protectedSection' => 'status-overlay-includes-subpages',
885 );
886
887 ?>