2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
6 if (TYPO3_MODE
== 'BE') {
7 $TCA['sys_action'] = array (
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',
16 'cruser_id' => 'cruser_id',
19 'setToDefaultOnCopy' => 'assign_to_groups',
20 'enablecolumns' => array (
21 'disabled' => 'hidden'
23 'typeicon_classes' => array(
24 'default' => 'mimetypes-x-sys_action',
27 'iconfile' => t3lib_extMgm
::extRelPath($_EXTKEY).'x-sys_action.png',
28 'dynamicConfigFile' => t3lib_extMgm
::extPath($_EXTKEY).'tca.php'
32 $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm
::extPath('sys_action') . 'toolbarmenu/registerToolbarItem.php';
34 t3lib_extMgm
::addLLrefForTCAdescr('sys_action','EXT:sys_action/locallang_csh_sysaction.xml');
36 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tasks'] = array(
37 'title' => 'LLL:EXT:sys_action/locallang_tca.xml:sys_action',
38 'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xml:.description',
39 'icon' => 'EXT:sys_action/sys_action.gif',
40 'task' => 'tx_sysaction_task'