[FEATURE] Integrate Form project into Core
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / ext_tables.php
1 <?php
2 declare(encoding = 'utf-8');
3
4 if (!defined('TYPO3_MODE')) {
5 die ('Access denied.');
6 }
7
8 $PATH_form = t3lib_extMgm::extPath('form');
9
10 // Add Default TS to Include static (from extensions)
11 t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Default TS');
12
13 $TCA['tt_content']['columns']['bodytext']['config']['wizards']['forms'] = array(
14 'notNewRecords' => 1,
15 'enableByTypeConfig' => 1,
16 'type' => 'script',
17 'title' => 'Form wizard',
18 'icon' => 'wizard_forms.gif',
19 'script' => t3lib_extMgm::extRelPath('form') . 'Classes/Controller/Wizard.php',
20 'params' => array(
21 'xmlOutput' => 0
22 )
23 );
24
25 $TCA['tt_content']['types']['mailform']['showitem'] = '
26 CType;;4;;1-1-1,
27 hidden,
28 header;;3;;2-2-2,
29 linkToTop;;;;3-3-3,
30 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.8,
31 bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.mailform;;nowrap:wizards[forms];3-3-3,
32 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
33 starttime,
34 endtime,
35 fe_group
36 ';
37 ?>