Bug #24311 » 16703.diff
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));
|
- « Previous
- 1
- 2
- 3
- Next »