[CLEANUP] Use block element for linebreaks in formengine 92/35892/3
authorBenjamin Kott <benjamin.kott@wfp2.com>
Thu, 8 Jan 2015 10:29:46 +0000 (11:29 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 8 Jan 2015 13:00:09 +0000 (14:00 +0100)
Linebreaks are used in the form engine to clear a row
within palettes. In transition to bootstrap we will use a
clearing block element to solve this.

Releases: master
Resolves: #64182
Change-Id: I308602e8c9399e94eb1fe02798ceea36cc166de7
Reviewed-on: http://review.typo3.org/35892
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormEngine.php

index 1ac2bfc..3f72c29 100644 (file)
@@ -3867,7 +3867,7 @@ class FormEngine {
                for ($i = 0; $i <= $row; $i++) {
                        if (isset($iRow[$i])) {
                                $out .= implode('', $iRow[$i]);
-                               $out .= $i < $row ? '<br />' : '';
+                               $out .= $i < $row ? '<div class="clearfix"></div>' : '';
                        }
                }
                $out .= '</fieldset>';