Fixed bug #8933: icons in indexed search modfunc1 are not skinned
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 23 Mar 2010 08:54:11 +0000 (08:54 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 23 Mar 2010 08:54:11 +0000 (08:54 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7149 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php

index 0888e2d..f56d40e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-03-23  Dmitry Dulepov  <dmitry.dulepov@gmail.com>
 
        * Fixed bug #9229: indexing of records containing HTML leads to concatenated words
+       * Fixed bug #8933: icons in indexed search modfunc1 are not skinned
 
 2010-03-22  Stanislas Rolland  <typo3@sjbr.ca>
 
index bf709ad..8437fbc 100755 (executable)
@@ -1009,7 +1009,7 @@ class tx_indexedsearch_modfunc1 extends t3lib_extobjbase {
         */
        function printRemoveIndexed($phash,$alt)        {
                return '<a href="'.htmlspecialchars(t3lib_div::linkThisScript(array('deletePhash'=>$phash))).'">'.
-                               '<img src="'.$GLOBALS['BACK_PATH'].'gfx/garbage.gif" width="11" hspace="1" vspace="2" height="12" border="0" title="'.htmlspecialchars($alt).'" alt="" />'.
+                               '<img '.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/garbage.gif', 'width="11" height="12"') . ' hspace="1" vspace="2" border="0" title="'.htmlspecialchars($alt).'" alt="" />'.
                                '</a>';
        }
 
@@ -1023,7 +1023,7 @@ class tx_indexedsearch_modfunc1 extends t3lib_extobjbase {
        function printReindex($resultRow,$alt)  {
                if ($resultRow['item_type'] && $resultRow['item_type']!=='0')   {
                        return '<a href="'.htmlspecialchars(t3lib_div::linkThisScript(array('reindex'=>$resultRow['phash'],'reindex_id'=>$resultRow['page_id']))).'">'.
-                                       '<img src="'.$GLOBALS['BACK_PATH'].'gfx/refresh_n.gif" width="14" hspace="1" vspace="2" height="14" border="0" title="'.htmlspecialchars($alt).'" alt="" />'.
+                                       '<img '.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/refresh_n.gif', 'width="14" height="14"') . ' hspace="1" vspace="2" border="0" title="'.htmlspecialchars($alt).'" alt="" />'.
                                        '</a>';
                }
        }