Fixed bug #14771: Updates for taskcenter, sys_action, impexp (Thanks to Georg Ringer)
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_bedisplaylog.php
index eadd833..757f44a 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2010 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -212,8 +212,10 @@ class t3lib_BEDisplayLog {
                        $text .= ' ' . sprintf($GLOBALS['LANG']->getLL('changesInFields'), '<em>' . $newRow['fieldlist'] . '</em>');
                        $text .= ' <a href="' . htmlspecialchars($GLOBALS['BACK_PATH'] . 'show_rechis.php?sh_uid=' . $newRow['uid'] .
                                        '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))) . '">' .
-                                       '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/history2.gif', 'width="13" height="12"') .
-                                       ' title="' . $GLOBALS['LANG']->getLL('showHistory') . '" alt="" />' .
+                                       t3lib_iconWorks::getSpriteIcon(
+                                               'actions-document-history-open',
+                                               array('title' => $GLOBALS['LANG']->getLL('showHistory'))
+                                       ) .
                                        '</a>';
                }
 
@@ -268,7 +270,7 @@ class t3lib_BEDisplayLog {
         */
        function stripPath($inArr)      {
                if ($this->stripPath && is_array($inArr))       {
-                       while(list($key,$val)=each($inArr))     {
+                       foreach ($inArr as $key => $val) {
                                $inArr[$key]=basename($val);
                        }
                }