Index: t3lib/class.t3lib_tceforms.php =================================================================== --- t3lib/class.t3lib_tceforms.php (Revision 9110) +++ t3lib/class.t3lib_tceforms.php (Arbeitskopie) @@ -4808,10 +4808,6 @@ '. '|'. ' - - - - @@ -4841,9 +4837,6 @@ $this->sectionWrap=' - - - '; @@ -5009,8 +5002,7 @@ if ($tableAttribs) { $tableAttribs='border="0" cellspacing="0" cellpadding="0" width="100%"'.$tableAttribs; $out_array[$out_pointer] = str_replace('###CONTENT###',$out_array[$out_pointer], - str_replace('###TABLE_ATTRIBS###',$tableAttribs, - str_replace('###SPACE_BEFORE###',intval($this->borderStyle[1]),$this->sectionWrap))); + str_replace('###TABLE_ATTRIBS###',$tableAttribs, $this->sectionWrap)); } $out_pointer++; } Index: typo3/template.php =================================================================== --- typo3/template.php (Revision 9110) +++ typo3/template.php (Arbeitskopie) @@ -729,18 +729,18 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'; break; + case 'xhtml_trans': + $headerStart = ''; + // The fallthrough is intended as HTML5, as this is the default for the BE since TYPO3 4.5 case 'html_5': + default: $headerStart = '' . LF; $htmlTag = ''; // disable rendering of XHTML tags $this->getPageRenderer()->setRenderXhtml(FALSE); break; - // The fallthrough is intended as XHTML 1.0 transitional is the default for the BE. - case 'xhtml_trans': - default: - $headerStart = ''; } $this->pageRenderer->setHtmlTag($htmlTag); @@ -764,7 +764,7 @@ $xmlStylesheet = ''; // Add the XML prologue for XHTML doctypes - if ($this->docType !== 'html_3' && $this->docType !== 'html_5') { + if (strpos($this->doctype, 'xhtml') !== FALSE) { // Put the XML prologue before or after the doctype declaration according to browser if ($browserInfo['browser'] === 'msie' && $browserInfo['version'] < 7) { $headerStart = $headerStart . LF . $xmlPrologue; Index: typo3/sysext/t3skin/stylesheets/structure/element_csm.css =================================================================== --- typo3/sysext/t3skin/stylesheets/structure/element_csm.css (Revision 9110) +++ typo3/sysext/t3skin/stylesheets/structure/element_csm.css (Arbeitskopie) @@ -9,6 +9,12 @@ padding: 2px 6px; } +/* the 1px image between every contextmenu group needs to be set to block, otherwise the border cell is way too high + see https://developer.mozilla.org/en/Images,_Tables,_and_Mysterious_Gaps#Setting_images_to_be_blocks */ +table.typo3-CSM tr.bgColor2 td img { + display: block; +} + /* - - - - - - - - - - - - - - - - - - - - - special backend elements - - - - - - - - - - - - - - - - - - - - - */
###RECORD_ICON### ###TABLE_TITLE### ###ID_NEW_INDICATOR###
###CONTENT###