+2010-12-17 Jeff Segars <jeff@webempoweredchurch.org>
+
+ * Fixed bug #16703: TCEForms->getIconHTML() does not resolve back paths before checking static files
+
2010-12-17 Benjamin Mack <benni@typo3.org>
* Fixed bug #9002: exec_SELECTquery() has wrong documentation: Third parameter (WHERE clause) is NOT optional
2010-12-17 Benjamin Mack <benni@typo3.org>
* Fixed bug #9002: exec_SELECTquery() has wrong documentation: Third parameter (WHERE clause) is NOT optional
*/
protected function getIconHtml($icon, $alt = '', $title = '') {
$iconArray = $this->getIcon($icon);
*/
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));
return '<img src="' . $iconArray[0] . '" alt="' . $alt . '" ' . ($title ? 'title="' . $title . '"' : '') . ' />';
} else {
return t3lib_iconWorks::getSpriteIcon($icon, array('alt'=> $alt, 'title'=> $title));