[BUGFIX] Missing file extension class with "file links" type 18/21318/2
authorStefan Galinski <stefan.galinski@gmail.com>
Mon, 10 Jun 2013 14:50:40 +0000 (16:50 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 11 Jun 2013 17:04:02 +0000 (19:04 +0200)
The content element type "file links" can't render
the the css class for the file extension, because
it uses a non-existing reference from pre-FAL
times. You can find the specific css class on the
generated list item.

Fixes: #48996
Releases: 6.2, 6.1, 6.0
Change-Id: I3031770a6741a331647f3bd5699ea1a2c0d444a9
Reviewed-on: https://review.typo3.org/21318
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/css_styled_content/static/v6.0/setup.txt
typo3/sysext/css_styled_content/static/v6.1/setup.txt

index f341269..d2b23c9 100644 (file)
@@ -1299,7 +1299,7 @@ tt_content.uploads {
                                10 = LOAD_REGISTER
                                10 {
                                        oddEvenClass = li-odd li-first |*| li-even || li-odd
-                                       elementClass = csc-uploads-element csc-uploads-element-{register:fileExtension}
+                                       elementClass = csc-uploads-element csc-uploads-element-{file:current:extension}
                                        elementClass.insertData = 1
                                }
 
index cc1b371..8a31978 100644 (file)
@@ -1295,7 +1295,7 @@ tt_content.uploads {
                                10 = LOAD_REGISTER
                                10 {
                                        oddEvenClass = li-odd li-first |*| li-even || li-odd
-                                       elementClass = csc-uploads-element csc-uploads-element-{register:fileExtension}
+                                       elementClass = csc-uploads-element csc-uploads-element-{file:current:extension}
                                        elementClass.insertData = 1
                                }
 
index 0efea47..713c5c4 100644 (file)
@@ -1296,7 +1296,7 @@ tt_content.uploads {
                                10 = LOAD_REGISTER
                                10 {
                                        oddEvenClass = li-odd li-first |*| li-even || li-odd
-                                       elementClass = csc-uploads-element csc-uploads-element-{register:fileExtension}
+                                       elementClass = csc-uploads-element csc-uploads-element-{file:current:extension}
                                        elementClass.insertData = 1
                                }