[BUGFIX] Update 6.2 static template 12/38612/5
authorMathias Brodala <mbrodala@pagemachine.de>
Fri, 10 Apr 2015 09:03:22 +0000 (11:03 +0200)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Fri, 10 Apr 2015 12:18:18 +0000 (14:18 +0200)
The 6.2 static template needs to stay in sync with the latest
static template from the 6.2 branch to ensure exactly the same
rendering in case it is used with a newer TYPO3 version.

Resolves: #66350
Releases: master
Change-Id: Iff668eed71d018133eda63aee906df5d8ae836a1
Reviewed-on: http://review.typo3.org/38612
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/css_styled_content/static/v6.2/setup.txt

index 5b107ce..3526bf7 100644 (file)
@@ -1245,6 +1245,11 @@ tt_content.uploads {
                                                fileTarget.override.override.field = target
                                                removePrependedNumbers = 1
 
+                                               title {
+                                                       data = file:current:title
+                                                       htmlSpecialChars = 1
+                                               }
+
                                                /*
                                                jumpurl = {$styles.content.uploads.jumpurl}
                                                jumpurl {
@@ -1281,7 +1286,7 @@ tt_content.uploads {
                        # filename
                        20 = TEXT
                        20 {
-                               data = file:current:name
+                               data = file:current:title // file:current:name
                                htmlSpecialChars = 1
                                required = 1
 
@@ -2228,7 +2233,7 @@ plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE (
        /* File Links */
        ul.csc-uploads { padding: 0; }
        ul.csc-uploads li { list-style: none outside none; margin: 1em 0; }
-       ul.csc-uploads img { float: left; padding-right: 1em; vertical-align: top; }
+       ul.csc-uploads img { float: left; margin-right: 1em; vertical-align: top; }
        ul.csc-uploads span { display: block; }
        ul.csc-uploads span.csc-uploads-fileName { text-decoration: underline; }