Fixed bug #14968: Add unit tests for t3lib_div::validIP (Thanks to Nikolas Hagelstein...
[Packages/TYPO3.CMS.git] / typo3 / class.show_rechis.inc
index 0ffa5d8..245bdfc 100644 (file)
@@ -324,7 +324,7 @@ class recordHistory {
                        // get link to page history if the element history is shown
                $elParts = explode(':',$this->element);
                if ($elParts[0] != 'pages')     {
                        // get link to page history if the element history is shown
                $elParts = explode(':',$this->element);
                if ($elParts[0] != 'pages')     {
-                       $content .= '<b>'.$LANG->getLL('elementHistory',1).'</b><br />';
+                       $content .= '<strong>'.$LANG->getLL('elementHistory',1).'</strong><br />';
                        $pid = t3lib_BEfunc::getRecordRaw($elParts[0],'uid='.intval($elParts[1]));
                        $content .= $this->linkPage($LANG->getLL('elementHistory_link',1),array('element' => 'pages:'.$pid['pid']));
                }
                        $pid = t3lib_BEfunc::getRecordRaw($elParts[0],'uid='.intval($elParts[1]));
                        $content .= $this->linkPage($LANG->getLL('elementHistory_link',1),array('element' => 'pages:'.$pid['pid']));
                }
@@ -346,7 +346,7 @@ class recordHistory {
                $lines=array();
 
                        // Initialize:
                $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>
                                <td> </td>
                                <td>'.$LANG->getLL('time',1).'</td>
                                <td>'.$LANG->getLL('age',1).'</td>
@@ -388,8 +388,8 @@ class recordHistory {
                                $expirationWarning = 1;
 
                                $lines[] = '
                                $expirationWarning = 1;
 
                                $lines[] = '
-                               <tr class="bgColor4-20">
-                                       <td colspan="7"><b>'.$LANG->getLL('consistenceWarning',1).'</b></td>
+                               <tr class="c-headLine">
+                                       <td colspan="7"><strong>'.$LANG->getLL('consistenceWarning',1).'</strong></td>
                                </tr>';
                        }
 
                                </tr>';
                        }
 
@@ -405,7 +405,7 @@ class recordHistory {
                        $singleLine = array();
 
                                // diff link
                        $singleLine = array();
 
                                // diff link
-                       $image = t3lib_iconWorks::getSpriteIcon('actions-go-forward', array('title' => $LANG->getLL('sumUpChanges', TRUE)));
+                       $image = t3lib_iconWorks::getSpriteIcon('actions-view-go-forward', array('title' => $LANG->getLL('sumUpChanges', TRUE)));
                        $singleLine[] = '<span>'.$this->linkPage($image,array('diff' => $sysLogUid)).'</span>'; // remove first link
 
                        $singleLine[] = htmlspecialchars(t3lib_BEfunc::datetime($entry['tstamp']));     // add time
                        $singleLine[] = '<span>'.$this->linkPage($image,array('diff' => $sysLogUid)).'</span>'; // remove first link
 
                        $singleLine[] = htmlspecialchars(t3lib_BEfunc::datetime($entry['tstamp']));     // add time
@@ -443,11 +443,10 @@ class recordHistory {
                                $singleLine[] = '';
                        }
 
                                $singleLine[] = '';
                        }
 
-                       $bgColorClass = $entry['snapshot'] ? 'bgColor2' : 'bgColor4-20';
                                // put line together
                        $lines[] = '
                                // 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>';
                }
 
                                </tr>';
                }
 
@@ -456,8 +455,8 @@ class recordHistory {
                        <!--
                                History (list):
                        -->
                        <!--
                                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)        {
                        </table>';
 
                if ($this->lastSyslogId)        {
@@ -501,10 +500,10 @@ class recordHistory {
                                $elParts = explode(':',$key);
                                        // turn around diff because it should be a "rollback preview"
                                if ($diff['insertsDeletes'][$key] == 1) {       // insert
                                $elParts = explode(':',$key);
                                        // turn around diff because it should be a "rollback preview"
                                if ($diff['insertsDeletes'][$key] == 1) {       // insert
-                                       $record .= '<b>'.$LANG->getLL('delete',1).'</b>';
+                                       $record .= '<strong>'.$LANG->getLL('delete',1).'</strong>';
                                        $record .= '<br />';
                                } elseif ($diff['insertsDeletes'][$key] == -1)  {
                                        $record .= '<br />';
                                } elseif ($diff['insertsDeletes'][$key] == -1)  {
-                                       $record .= '<b>'.$LANG->getLL('insert',1).'</b>';
+                                       $record .= '<strong>'.$LANG->getLL('insert',1).'</strong>';
                                        $record .= '<br />';
                                }
                                        // build up temporary diff array
                                        $record .= '<br />';
                                }
                                        // build up temporary diff array