[TASK] Remove old updates for upgrade wizard
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // unserializing the configuration so we can use it here:
5 $_EXTCONF = unserialize($_EXTCONF);
6 if (!$_EXTCONF || $_EXTCONF['setPageTSconfig']) {
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/pageTSconfig.txt">');
8 }
9 if (!$_EXTCONF || $_EXTCONF['removePositionTypes']) {
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
11 TCEFORM.tt_content.imageorient.types.image.removeItems = 8,9,10,17,18,25,26
12 ');
13 }
14
15 // Mark the delivered TypoScript templates as "content rendering template" (providing the hooks of "static template 43" = content (default))
16 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'cssstyledcontent/static/';
17 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'cssstyledcontent/static/v6.2/';
18 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'cssstyledcontent/static/v6.1/';
19 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'cssstyledcontent/static/v6.0/';
20 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'cssstyledcontent/static/v4.7/';
21 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'cssstyledcontent/static/v4.6/';
22 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'cssstyledcontent/static/v4.5/';