Bugfix 5266
[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 enabling the Click-enlarge feature
5 if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableClickEnlarge']) {
6 t3lib_extMgm::addStaticFile($_EXTKEY,'static/clickenlarge/','Clickenlarge Rendering');
7 }
8
9 $TCA['tx_rtehtmlarea_acronym'] = Array (
10 'ctrl' => Array (
11 'title' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym',
12 'label' => 'term',
13 'default_sortby' => 'ORDER BY term',
14 'sortby' => 'sorting',
15 'rootLevel' => 1,
16 'delete' => 'deleted',
17 'enablecolumns' => Array (
18 'disabled' => 'hidden',
19 'starttime' => 'starttime',
20 'endtime' => 'endtime',
21 ),
22 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
23 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'htmlarea/skins/default/images/Acronym/ed_acronym.gif',
24 )
25 );
26
27 t3lib_extMgm::allowTableOnStandardPages('tx_rtehtmlarea_acronym');
28 t3lib_extMgm::addToInsertRecords('tx_rtehtmlarea_acronym');
29 ?>