Added feature #16281: htmlArea RTE: Add context sensitive help to remove format dialo...
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 // Add static template for Click-enlarge rendering
5 t3lib_extMgm::addStaticFile($_EXTKEY,'static/clickenlarge/','Clickenlarge Rendering');
6
7 $TCA['tx_rtehtmlarea_acronym'] = Array (
8 'ctrl' => Array (
9 'title' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym',
10 'label' => 'term',
11 'default_sortby' => 'ORDER BY term',
12 'sortby' => 'sorting',
13 'delete' => 'deleted',
14 'enablecolumns' => Array (
15 'disabled' => 'hidden',
16 'starttime' => 'starttime',
17 'endtime' => 'endtime',
18 ),
19 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
20 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'extensions/Acronym/skin/images/acronym.gif',
21 ),
22 );
23 t3lib_extMgm::allowTableOnStandardPages('tx_rtehtmlarea_acronym');
24
25 // Add contextual help files
26 foreach ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins'] as $pluginName => $config) {
27 if ($config['contextHelpFile']) {
28 t3lib_extMgm::addLLrefForTCAdescr('xEXT_' . $_EXTKEY . '_' . $pluginName, $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['RemoveFormat']['contextHelpFile']);
29 }
30 }
31 ?>