Fixed bug #12438: Bugfix - tt_content bodytext wizard icons aren't aligned properly...
authorBenni Mack <benni.mack@typo3.org>
Sun, 15 Nov 2009 19:28:50 +0000 (19:28 +0000)
committerBenni Mack <benni.mack@typo3.org>
Sun, 15 Nov 2009 19:28:50 +0000 (19:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6418 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php
typo3/sysext/cms/tbl_tt_content.php

index c2e478b..7e38caf 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-15  Benjamin Mack  <benni@typo3.org>
+
+       * Fixed bug #12438: Bugfix - tt_content bodytext wizard icons aren't aligned properly (Thanks to Tolleiv Nietsch)
+
 2009-11-15  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #12597: htmlArea RTE: cursor position is not restored by undo/redo operations in Opera
index 83aff25..17204a9 100644 (file)
@@ -3961,7 +3961,7 @@ class t3lib_TCEforms      {
                                                $dist = $dist ? '<td><img src="clear.gif" height="1" width="'.$dist.'" alt="" /></td>' : '';
                                                $outStr = '<tr><td'.$vAlign.'>'.implode('</td>'.$dist.'<td'.$vAlign.'>',$outArr).'</td></tr>';
                                        }
-                                       $outStr = '<table border="0" cellpadding="'.intval($wizConf['_PADDING']).'" cellspacing="0">'.$outStr.'</table>';
+                                       $outStr = '<table border="0" cellpadding="'.intval($wizConf['_PADDING']).'" cellspacing="'.intval($wizConf['_PADDING']).'">'.$outStr.'</table>';
                                } else {
                                        $outStr = implode('',$outArr);
                                }
index 50e66db..509cfed 100755 (executable)
@@ -277,6 +277,7 @@ $TCA['tt_content'] = Array (
                                'rows' => '5',
                                'wizards' => Array(
                                        '_PADDING' => 4,
+                                       '_VALIGN' => 'middle',
                                        'RTE' => Array(
                                                'notNewRecords' => 1,
                                                'RTEonly' => 1,