Bug #25020 ยป 17564.diff
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));
|