Project

General

Profile

Bug #25020 ยป 17564.diff

Administrator Admin, 2011-02-13 14:33

View differences:

t3lib/class.t3lib_tceforms.php (Arbeitskopie)
*/
protected function getIconHtml($icon, $alt = '', $title = '') {
$iconArray = $this->getIcon($icon);
if (is_file(t3lib_div::resolveBackPath(PATH_typo3 . $iconArray[0]))) {
if (is_file(t3lib_div::resolveBackPath(PATH_typo3 . $GLOBALS['temp_modPath'] . $iconArray[0]))) {
return '<img src="' . $iconArray[0] . '" alt="' . $alt . '" ' . ($title ? 'title="' . $title . '"' : '') . ' />';
} else {
return t3lib_iconWorks::getSpriteIcon($icon, array('alt'=> $alt, 'title'=> $title));
    (1-1/1)