cb340a6f5b4f320ece8e909aee037cc7aeb4ec3d
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
4 // Add static template for Click-enlarge rendering
5 t3lib_extMgm
::addStaticFile($_EXTKEY,'static/clickenlarge/','Clickenlarge Rendering');
8 $TCA['tx_rtehtmlarea_acronym'] = Array (
10 'title' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym',
12 'default_sortby' => 'ORDER BY term',
13 'sortby' => 'sorting',
14 'delete' => 'deleted',
15 'enablecolumns' => Array (
16 'disabled' => 'hidden',
17 'starttime' => 'starttime',
18 'endtime' => 'endtime',
20 'dynamicConfigFile' => t3lib_extMgm
::extPath($_EXTKEY).'tca.php',
21 'iconfile' => t3lib_extMgm
::extRelPath($_EXTKEY).'extensions/Acronym/skin/images/acronym.gif',
24 t3lib_extMgm
::allowTableOnStandardPages('tx_rtehtmlarea_acronym');
26 // Add contextual help files
27 $htmlAreaRteContextHelpFiles = array(
28 'General' => 'EXT:' . $_EXTKEY . '/locallang_csh.xml',
29 'RemoveFormat' => 'EXT:' . $_EXTKEY . '/extensions/RemoveFormat/locallang_csh.xml',
30 'PlainText' => 'EXT:' . $_EXTKEY . '/extensions/PlainText/locallang_csh.xml',
32 foreach ($htmlAreaRteContextHelpFiles as $key => $file) {
33 t3lib_extMgm
::addLLrefForTCAdescr('xEXT_' . $_EXTKEY . '_' . $key, $file);
35 unset($htmlAreaRteContextHelpFiles);
37 // Extend TYPO3 User Settings Configuration
38 if (TYPO3_MODE
=== 'BE' && t3lib_extMgm
::isLoaded('setup') && is_array($GLOBALS['TYPO3_USER_SETTINGS'])) {
39 $GLOBALS['TYPO3_USER_SETTINGS']['columns'] = array_merge(
40 $GLOBALS['TYPO3_USER_SETTINGS']['columns'],
44 'label' => 'LLL:EXT:rtehtmlarea/locallang.xml:rteWidth',
45 'csh' => 'xEXT_rtehtmlarea_General:rteWidth',
49 'label' => 'LLL:EXT:rtehtmlarea/locallang.xml:rteHeight',
50 'csh' => 'xEXT_rtehtmlarea_General:rteHeight',
54 'label' => 'LLL:EXT:rtehtmlarea/locallang.xml:rteResize',
55 'csh' => 'xEXT_rtehtmlarea_General:rteResize',
57 'rteMaxHeight' => array(
59 'label' => 'LLL:EXT:rtehtmlarea/locallang.xml:rteMaxHeight',
60 'csh' => 'xEXT_rtehtmlarea_General:rteMaxHeight',
62 'rteCleanPasteBehaviour' => array(
64 'label' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xml:rteCleanPasteBehaviour',
66 'plainText' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xml:plainText',
67 'pasteStructure' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xml:pasteStructure',
68 'pasteFormat' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xml:pasteFormat',
70 'csh' => 'xEXT_rtehtmlarea_PlainText:behaviour',
74 $GLOBALS['TYPO3_USER_SETTINGS']['showitem'] .= ',--div--;LLL:EXT:rtehtmlarea/locallang.xml:rteSettings,rteWidth,rteHeight,rteResize,rteMaxHeight,rteCleanPasteBehaviour';