[BUGFIX] EXT:form tests and unicode fix
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / ext_tables.php
index ac31091..d7357ae 100644 (file)
@@ -1,23 +1,20 @@
 <?php
 if (!defined('TYPO3_MODE')) {
-       die ('Access denied.');
+       die('Access denied.');
 }
-
-       // Add Default TS to Include static (from extensions)
-t3lib_extMgm::addStaticFile($_EXTKEY, 'Resources/Private/Configuration/TypoScript/', 'Default TS');
-
+// Add Default TS to Include static (from extensions)
+\TYPO3\CMS\Core\Extension\ExtensionManager::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Default TS');
 $TCA['tt_content']['columns']['bodytext']['config']['wizards']['forms'] = array(
        'notNewRecords' => 1,
        'enableByTypeConfig' => 1,
        'type' => 'script',
        'title' => 'Form wizard',
        'icon' => 'wizard_forms.gif',
-       'script' => t3lib_extMgm::extRelPath('form') . 'Classes/Controller/Wizard.php',
+       'script' => \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('form') . 'Classes/Controller/Wizard.php',
        'params' => array(
                'xmlOutput' => 0
        )
 );
-
 $TCA['tt_content']['types']['mailform']['showitem'] = '
        CType;;4;;1-1-1,
        hidden,