Added $BACK_PATH to $error_doc in t3lib_div::TCEmain->printLogErrorMessages() to...
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Sat, 3 Dec 2005 09:54:27 +0000 (09:54 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Sat, 3 Dec 2005 09:54:27 +0000 (09:54 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@897 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_tcemain.php

index 3607722..4c951e8 100755 (executable)
@@ -5534,7 +5534,7 @@ State was change by %s (username: %s)
 
                if (count($errorJS))    {
                        $error_doc = t3lib_div::makeInstance('template');
-                       $error_doc->backPath = '';
+                       $error_doc->backPath = $GLOBALS['BACK_PATH'];
 
                        $content.= $error_doc->startPage('tce_db.php Error output');
 
@@ -5546,7 +5546,7 @@ State was change by %s (username: %s)
                        foreach($errorJS as $line)      {
                                $lines[] = '
                                        <tr class="bgColor4">
-                                               <td valign="top"><img'.t3lib_iconWorks::skinImg('','gfx/icon_fatalerror.gif','width="18" height="16"').' alt="" /></td>
+                                               <td valign="top"><img'.t3lib_iconWorks::skinImg($error_doc->backPath,'gfx/icon_fatalerror.gif','width="18" height="16"').' alt="" /></td>
                                                <td>'.htmlspecialchars($line).'</td>
                                        </tr>';
                        }