Various small fixes
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_action / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 if (TYPO3_MODE=='BE') {
5 t3lib_extMgm::insertModuleFunction(
6 'user_task',
7 'tx_sysaction',
8 t3lib_extMgm::extPath($_EXTKEY).'class.tx_sysaction.php',
9 'LLL:EXT:sys_action/locallang_tca.php:tx_sys_action'
10 );
11
12 $TCA['sys_action'] = Array (
13 'ctrl' => Array (
14 'label' => 'title',
15 'tstamp' => 'tstamp',
16 'default_sortby' => 'ORDER BY title',
17 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
18 'title' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action',
19 'crdate' => 'crdate',
20 'cruser_id' => 'cruser_id',
21 'adminOnly' => 1,
22 'rootLevel' => -1,
23 'setToDefaultOnCopy' => 'assign_to_groups',
24 'enablecolumns' => Array (
25 'disabled' => 'hidden'
26 ),
27 'type' => 'type',
28 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'sys_action.gif',
29 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
30 )
31 );
32 }
33
34 t3lib_extMgm::addLLrefForTCAdescr('sys_action','EXT:sys_action/locallang_csh_sysaction.xml');
35
36 ?>