Skip to content
Snippets Groups Projects
Commit d48e59d8 authored by Benjamin Mack's avatar Benjamin Mack Committed by Stefan Neufeind
Browse files

[CLEANUP] Let CSS Styled content use new classnames

With TYPO3 6.0, includeLibs for classes with
Namespaces / autoloader is not needed anymore.

The patch cleans up the TypoScript of CSS Styled
Content in order to use the new namings and
the superfluous call to includeLibs.

Releases: 6.2
Resolves: #55558
Change-Id: I94558a24479f220ce0fbebb54bb2f8479085c61c
Reviewed-on: https://review.typo3.org/27234
Reviewed-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
parent 09312f1a
Branches
Tags
No related merge requests found
......@@ -373,22 +373,6 @@ lib.stdheader {
#******************************************************
# Including library for processing of some elements:
#******************************************************
includeLibs.tx_cssstyledcontent_pi1 = EXT:css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php
#**********************************
# tt_content is started
#**********************************
......@@ -444,7 +428,7 @@ tt_content.stdWrap {
# Create class for space before content
20 = USER
20 {
userFunc = tx_cssstyledcontent_pi1->renderSpace
userFunc = TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController->renderSpace
space = before
constant = {$content.spaceBefore}
classStdWrap {
......@@ -454,7 +438,7 @@ tt_content.stdWrap {
# Create class for space after content
30 = USER
30 {
userFunc = tx_cssstyledcontent_pi1->renderSpace
userFunc = TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController->renderSpace
space = after
constant = {$content.spaceAfter}
classStdWrap {
......@@ -529,7 +513,7 @@ tt_content.stdWrap {
20 {
10 = USER
10 {
userFunc = tx_cssstyledcontent_pi1->renderSpace
userFunc = TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController->renderSpace
space = before
constant = {$content.spaceBefore}
classStdWrap {
......@@ -648,7 +632,7 @@ tt_content.image = COA
tt_content.image.10 = < lib.stdheader
tt_content.image.20 = USER
tt_content.image.20 {
userFunc = tx_cssstyledcontent_pi1->render_textpic
userFunc = TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController->render_textpic
# Image source
imgList.field = image
......@@ -1320,7 +1304,7 @@ tt_content.bullets {
dataWrap = <ul class="csc-bulletlist csc-bulletlist-{field:layout}">|</ul>
editIcons = tt_content: bodytext, [layout]
editIcons.beforeLastTag = 1
editIcons.iconTitle.data = LLL:EXT:css_styled_content/pi1/locallang.php:eIcon.bullets
editIcons.iconTitle.data = LLL:EXT:css_styled_content/pi1/locallang.xlf:eIcon.bullets
prefixComment = 2 | Bullet list:
}
......@@ -1483,13 +1467,13 @@ tt_content.uploads {
# *****************
# CType: table
# *****************
# Rendered by a PHP function specifically written to handle CE tables. See css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php
# Rendered by a PHP function specifically written to handle CE tables. See EXT:css_styled_content/Classes/Controller/CssStyledContentController.php
tt_content.table = COA
tt_content.table {
10 = < lib.stdheader
20 = USER
20.userFunc = tx_cssstyledcontent_pi1->render_table
20.userFunc = TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController->render_table
20.field = bodytext
20.color {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment