Cleanup: Set SVN end of line property
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_action / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if (TYPO3_MODE == 'BE') {
7 $TCA['sys_action'] = array (
8 'ctrl' => array (
9 'label' => 'title',
10 'tstamp' => 'tstamp',
11 'default_sortby' => 'ORDER BY title',
12 'sortby' => 'sorting',
13 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
14 'title' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action',
15 'crdate' => 'crdate',
16 'cruser_id' => 'cruser_id',
17 'adminOnly' => 1,
18 'rootLevel' => -1,
19 'setToDefaultOnCopy' => 'assign_to_groups',
20 'enablecolumns' => array (
21 'disabled' => 'hidden'
22 ),
23 'type' => 'type',
24 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'sys_action.gif',
25 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
26 )
27 );
28
29 $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm::extPath('sys_action') . 'toolbarmenu/registerToolbarItem.php';
30
31 t3lib_extMgm::addLLrefForTCAdescr('sys_action','EXT:sys_action/locallang_csh_sysaction.xml');
32
33 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tasks'] = array(
34 'title' => 'LLL:EXT:sys_action/locallang_tca.xml:sys_action',
35 'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xml:.description',
36 'icon' => 'EXT:sys_action/sys_action.gif',
37 'task' => 'tx_sysaction_task'
38 );
39 }
40 ?>