[TASK] Merge submodule extbase into core
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 // unserializing the configuration so we can use it here:
6 $_EXTCONF = unserialize($_EXTCONF);
7 if ($_EXTCONF['setPageTSconfig'] || !$_EXTCONF) {
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/pageTSconfig.txt">');
9 }
10 if ($_EXTCONF['removePositionTypes'] || !$_EXTCONF) {
11 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
12 TCEFORM.tt_content.imageorient.types.image.removeItems = 8,9,10,17,18,25,26
13 ');
14 }
15 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcontent_accessibility'] = array(
16 'title' => 'CSS Styled Content: Accessibility improvements',
17 'version' => 3009000,
18 'description' => '<p>The rendering of the following elements will change:
19 <ul><li><strong>tt_content.menu</strong> (used f.e. for sitemaps): Instead of div-tags, lists are used now.</li>
20 <li><strong>tt_content.mailform</strong>: Mailforms do not use tables anymore, instead, they use the div-tag. Besides that, mailforms are accessible now.</li>
21 <li><strong>The p-tag</strong> has been removed from all table cells.</li>
22 <li><strong>CSS based "image" and "text with image"</strong><br />As the extension cron_cssstyledimgtext has been merged into the core, rendering of the content elements "image" and "text with image" has been changed to be CSS instead of table based. Read the <a href="http://wiki.typo3.org/index.php/TYPO3_4.0" target="_blank">4.0 release notes</a> for further information.</li></ul>',
23 'description_acknowledge' => 'You will have to update your stylesheets to comply with these changes.'
24 );
25 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcontent_pagetargets'] = array(
26 'title' => 'CSS Styled Content: Default targets for non-frame pages',
27 'version' => 4002000,
28 'description' => '<p>The default page target is empty (so no target is generated). If you use frames, you have to set target to "page" in Constants.</p>'
29 );
30 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcontent_menuhtmlspecialchars'] = array(
31 'title' => 'CSS Styled Content: htmlspecialchars in menu content elements',
32 'version' => 4003000,
33 'description' => '<p>Page titles will get htmlspecialchar\'ed when rendered in "Sitemap/menu" content elements, to avoid generating invalid XHTML.</p>'
34 );
35 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcontent_clearerdivsafterintexttextpicelements'] = array(
36 'title' => 'CSS Styled Content: clear divs, changed row space, corrected margins',
37 'version' => 4004000,
38 'description' => '<ul><li>Clear divs will be generated by default for in-text right or left positioned textpic elements.</li><li>The default row space changes to 10px, to be in line with col space and text margin.</li><li>Rendering bugs with wrong margins were fixed (Default CSS changed).</li></ul>'
39 );
40 // Register ourselves as "content rendering template" (providing the hooks of "static template 43" = content (default) )
41 $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'] = array(
42 'cssstyledcontent/static/',
43 'cssstyledcontent/static/v6.1/',
44 'cssstyledcontent/static/v6.0/',
45 'cssstyledcontent/static/v4.7/',
46 'cssstyledcontent/static/v4.6/',
47 'cssstyledcontent/static/v4.5/',
48 'cssstyledcontent/static/v4.4/',
49 'cssstyledcontent/static/v4.3/',
50 'cssstyledcontent/static/v4.2/',
51 'cssstyledcontent/static/v3.9/',
52 'cssstyledcontent/static/v3.8/'
53 );
54 ?>