Project

General

Profile

Bug #24111 » show_item_v1.diff

Administrator Admin, 2010-11-17 18:07

View differences:

typo3/show_item.php (working copy)
// Compile information for title tag:
$infoData = array();
if (count($rows)) {
$infoData[] = '<tr class="bgColor5 tableheader">' .
$infoData[] = '<tr class="t3-row-header">' .
'<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.table').'</td>' .
'<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.uid').'</td>' .
'<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.field').'</td>'.
......
'</tr>';
}
return count($infoData) ? '<table border="0" cellpadding="1" cellspacing="1">'.implode('',$infoData).'</table>' : '';
return count($infoData) ? '<table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist">' . implode('', $infoData) . '</table>' : '';
}
/**
......
// Compile information for title tag:
$infoData = array();
if (count($rows)) {
$infoData[] = '<tr class="bgColor5 tableheader">' .
$infoData[] = '<tr class="t3-row-header">' .
'<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.field').'</td>'.
'<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.flexpointer').'</td>'.
'<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.softrefKey').'</td>'.
......
'</tr>';
}
return count($infoData) ? '<table border="0" cellpadding="1" cellspacing="1">'.implode('',$infoData).'</table>' : '';
return count($infoData) ? '<table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist">' . implode('', $infoData) . '</table>' : '';
}
}
(3-3/3)