Project

General

Profile

Bug #17580 » disable_empty_tabs_v1_(4.1.3).patch

Administrator Admin, 2007-10-23 21:43

View differences:

D:/workspace-typo3/typo3/typo3_src-svn/t3lib/class.t3lib_tceforms.php (working copy)
// Create parts array for the tab menu:
$parts = array();
foreach ($out_array as $idx => $sheetContent) {
$sContent = implode('',$sheetContent);
if (!empty($sContent)) {
$sContent = '<table border="0" cellspacing="0" cellpadding="0" width="100%">'.$sContent.'</table>';
}
$parts[] = array(
'label' => $out_array_meta[$idx]['title'],
'content' => '<table border="0" cellspacing="0" cellpadding="0" width="100%">'.
implode('',$sheetContent).
'</table>'
'content' => $sContent,
);
}
(2-2/3)