Project

General

Profile

Bug #24311 » 16703.diff

Administrator Admin, 2010-12-08 22:00

View differences:

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