git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3876 709f56b5-9817-0410-a4d7...
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 12 Jul 2008 15:46:03 +0000 (15:46 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 12 Jul 2008 15:46:03 +0000 (15:46 +0000)
ChangeLog
t3lib/class.t3lib_tceforms.php

index a891767..43f3441 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 2008-07-312  Martin Kutschker  <masi@typo3.org>
 
        * Fixed bug #8864: Allow TS config.absRefPrefix to work with resources in typo3conf/ext. Make it work with a changed location of fileadmin/. (fix by Bejamin Mack)
+       * Fixed bug #8833: TCA "check" type field checkboxes have no labels when in 1-column display (thanks to Francois Suter)
 
 2008-07-11  Michael Stucki  <michael@typo3.org>
 
index e7d42b2..9294b75 100755 (executable)
@@ -1346,7 +1346,7 @@ class t3lib_TCEforms      {
                                $cBID = $PA['itemFormElID'].'_'.$c;
                                $item.= ($c>0?'<br />':'').
                                                '<input type="checkbox"'.$this->insertDefStyle('check').' value="1" name="'.$cBName.'"'.$cBP.$PA['onFocus'].$disabled.' id="'.$cBID.'" />'.
-                                               htmlspecialchars($p[0]);
+                                               $this->wrapLabels('<label for="'.$cBID.'">'.htmlspecialchars($p[0]).'</label>');
                        }
                }
                if (!$disabled) {