Fixed bug #12838: Deactivated fields of $TYPO3_USER_SETTINGS are changed by the modul...
[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 'sortby' => 'sorting',
18 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
19 'title' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action',
20 'crdate' => 'crdate',
21 'cruser_id' => 'cruser_id',
22 'adminOnly' => 1,
23 'rootLevel' => -1,
24 'setToDefaultOnCopy' => 'assign_to_groups',
25 'enablecolumns' => Array (
26 'disabled' => 'hidden'
27 ),
28 'type' => 'type',
29 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'sys_action.gif',
30 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
31 )
32 );
33
34 $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm::extPath('sys_action') . 'toolbarmenu/registerToolbarItem.php';
35 }
36
37 t3lib_extMgm::addLLrefForTCAdescr('sys_action','EXT:sys_action/locallang_csh_sysaction.xml');
38
39 ?>