TCE-forms don't skins icons / t3skin lacks undo.gif, csv.gif and savedoknew.gif ...
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 2 Jun 2006 11:28:37 +0000 (11:28 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 2 Jun 2006 11:28:37 +0000 (11:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1498 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php
typo3/sysext/t3skin/icons/gfx/csv.gif
typo3/sysext/t3skin/icons/gfx/savedoknew.gif
typo3/sysext/t3skin/icons/gfx/undo.gif

index 98ae48d..f25e01f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 2006-06-02  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
        * Fix bug #3612: no c-prefix for URL fragment in menus (section index)
+       * Fix bug #2493: TCE-forms don't skins icons / t3skin lacks undo.gif, csv.gif and savedoknew.gif (thanks to Clemens Riccabona for the latter)
 
 2006-05-31  Ernesto Baschny <ernst@cron-it.de>
 
index e7a040b..dde2c9c 100755 (executable)
@@ -3351,8 +3351,8 @@ class t3lib_TCEforms      {
                        $selIconFile = $this->backPath.$icon;
                        $selIconInfo = @getimagesize(PATH_typo3.$icon);
                } else {
-                       $selIconFile = $this->backPath.'gfx/'.$icon;
-                       $selIconInfo = @getimagesize(PATH_t3lib.'gfx/'.$icon);
+                       $selIconFile = t3lib_iconWorks::skinImg($this->backPath,'gfx/'.$icon,'',1);
+                       $selIconInfo = @getimagesize(PATH_typo3.$selIconFile);
                }
                return array($selIconFile,$selIconInfo);
        }
index 8ce6e29..0f35c7a 100644 (file)
Binary files a/typo3/sysext/t3skin/icons/gfx/csv.gif and b/typo3/sysext/t3skin/icons/gfx/csv.gif differ
index 2d227d7..e46d04a 100644 (file)
Binary files a/typo3/sysext/t3skin/icons/gfx/savedoknew.gif and b/typo3/sysext/t3skin/icons/gfx/savedoknew.gif differ
index 68718a7..8ec47e0 100644 (file)
Binary files a/typo3/sysext/t3skin/icons/gfx/undo.gif and b/typo3/sysext/t3skin/icons/gfx/undo.gif differ