|
TYPO3 API
SVNRelease
|
00001 <?php 00002 if (!defined ('TYPO3_MODE')) { 00003 die ('Access denied.'); 00004 } 00005 00006 if (TYPO3_MODE == 'BE') { 00007 $TCA['sys_action'] = array( 00008 'ctrl' => array( 00009 'label' => 'title', 00010 'tstamp' => 'tstamp', 00011 'default_sortby' => 'ORDER BY title', 00012 'sortby' => 'sorting', 00013 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy', 00014 'title' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action', 00015 'crdate' => 'crdate', 00016 'cruser_id' => 'cruser_id', 00017 'adminOnly' => 1, 00018 'rootLevel' => -1, 00019 'setToDefaultOnCopy' => 'assign_to_groups', 00020 'enablecolumns' => array( 00021 'disabled' => 'hidden' 00022 ), 00023 'typeicon_classes' => array( 00024 'default' => 'mimetypes-x-sys_action', 00025 ), 00026 'type' => 'type', 00027 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'x-sys_action.png', 00028 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php' 00029 ) 00030 ); 00031 00032 $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm::extPath('sys_action') . 'toolbarmenu/registerToolbarItem.php'; 00033 00034 t3lib_extMgm::addLLrefForTCAdescr('sys_action','EXT:sys_action/locallang_csh_sysaction.xml'); 00035 00036 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tx_sysaction_task'] = array( 00037 'title' => 'LLL:EXT:sys_action/locallang_tca.xml:sys_action', 00038 'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xml:.description', 00039 'icon' => 'EXT:sys_action/x-sys_action.png', 00040 ); 00041 } 00042 ?>
1.8.0