Fixed bug #14957: Styling of record history (Thanks to Georg Ringer)
authorSteffen Kamper <info@sk-typo3.de>
Mon, 5 Jul 2010 09:49:23 +0000 (09:49 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 5 Jul 2010 09:49:23 +0000 (09:49 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8091 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.show_rechis.inc

index c9d5a81..89c1992 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-05  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #14957: Styling of record history (Thanks to Georg Ringer)
+
 2010-07-04  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #14929: htmlArea RTE: Font Family and Font Size Dropdown boxes don't open
index 8afba0d..245bdfc 100644 (file)
@@ -346,7 +346,7 @@ class recordHistory {
                $lines=array();
 
                        // Initialize:
-               $lines[] = '<tr class="bgColor5 c-head">
+               $lines[] = '<tr class="t3-row-header">
                                <td> </td>
                                <td>'.$LANG->getLL('time',1).'</td>
                                <td>'.$LANG->getLL('age',1).'</td>
@@ -388,7 +388,7 @@ class recordHistory {
                                $expirationWarning = 1;
 
                                $lines[] = '
-                               <tr class="bgColor4-20">
+                               <tr class="c-headLine">
                                        <td colspan="7"><strong>'.$LANG->getLL('consistenceWarning',1).'</strong></td>
                                </tr>';
                        }
@@ -443,11 +443,10 @@ class recordHistory {
                                $singleLine[] = '';
                        }
 
-                       $bgColorClass = $entry['snapshot'] ? 'bgColor2' : 'bgColor4-20';
                                // put line together
                        $lines[] = '
-                               <tr class="'.$bgColorClass.'">
-                                       <td>'.implode('</td><td>',$singleLine).'</td>
+                               <tr class="db_list_normal">
+                                       <td>' . implode('</td><td>', $singleLine) . '</td>
                                </tr>';
                }
 
@@ -456,8 +455,8 @@ class recordHistory {
                        <!--
                                History (list):
                        -->
-                       <table border="0" cellpadding="2" cellspacing="2" id="typo3-history">
-                               '.implode('',$lines).'
+                       <table class="typo3-dblist" border="0" cellpadding="0" cellspacing="0" id="typo3-history">
+                               ' . implode('', $lines) . '
                        </table>';
 
                if ($this->lastSyslogId)        {