From ebe89b774fb044c10a7f17ac1e1e1b91b130a19d Mon Sep 17 00:00:00 2001 From: Ernesto Baschny <ernst@cron-it.de> Date: Thu, 11 Jul 2013 11:48:12 +0200 Subject: [PATCH] [BUGFIX] Refactored ElementInfo missed one table Resolves: #49889 Related: #49164 Releases: 6.2 Change-Id: I09276b37134f3f781e28ac098596966f7866ec04 Reviewed-on: https://review.typo3.org/22200 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Felix Kopp Tested-by: Felix Kopp --- .../ContentElement/ElementInformationController.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php index 1a4bdfc6c755..e086997d09fe 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php @@ -547,7 +547,7 @@ class ElementInformationController { // Compile information for title tag: $infoData = array(); if (count($rows)) { - $infoData[] = '<tr class="t3-row-header">' . + $infoDataHeader = '<tr class="t3-row-header">' . '<td> </td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.field') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.flexpointer') . '</td>' . @@ -560,7 +560,7 @@ class ElementInformationController { } foreach ($rows as $row) { $actions = $this->getRecordActions($row['ref_table'], $row['ref_uid']); - $infoData[] = '<tr>' . + $infoData[] = '<tr class="db_list_normal">' . '<td style="white-space:nowrap;">' . $actions . '</td>' . '<td>' . htmlspecialchars($this->getLabelForTableColumn($table, $row['field'])) . '</td>' . '<td>' . htmlspecialchars($row['flexpointer']) . '</td>' . @@ -577,8 +577,10 @@ class ElementInformationController { } return '<table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist">' . + '<thead>' . $infoDataHeader . '</thead>' . + '<tbody>' . implode('', $infoData) . - '</table>'; + '</tbody></table>'; } /** -- GitLab