Fixed bug #5331: Remove the caption wrap on images if no caption is set (thanks to...
authorOliver Hader <oliver.hader@typo3.org>
Wed, 11 Jul 2007 13:25:58 +0000 (13:25 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 11 Jul 2007 13:25:58 +0000 (13:25 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@2395 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/css_styled_content/static/setup.txt

index 5cc493c..dc29f2a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-11  Oliver Hader  <oh@inpublica.de>
+
+       * Fixed bug #5331: Remove the caption wrap on images if no caption is set (thanks to Georg Ringer)
+
 2007-07-07  Oliver Hader  <oh@inpublica.de>
 
        * Fixed bug #5053: imgNameNotRandom on TMENU/GMENU could break rollover behaviour (thanks to Ralf Hettinger)
index f909109..95aef26 100755 (executable)
@@ -1328,7 +1328,10 @@ tt_content.image.20 {
                        oneImageStdWrap.dataWrap = <dl class="csc-textpic-image###CLASSES###" style="width:{register:imagespace}px;"> | </dl>
                        imgTagStdWrap.wrap = <dt> | </dt>
                        editIconsStdWrap.wrap = <dd> | </dd>
-                       caption.wrap = <dd class="csc-textpic-caption"> | </dd>
+                       caption {
+                               required = 1
+                               wrap = <dd class="csc-textpic-caption"> | </dd>
+                       }
                }
                ul {
                        imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow" style="width:{register:rowwidth}px;"><ul> | </ul></div>