* Fixed bug #12604: fileNameASCIIPrefix got deprecated but is used in core (Thanks to Steffen Gebert)
* Fixed bug #11437: New labels in the log module are hardcoded (Thanks to Andy Grunwald)
* Fixed bug #14461: TCEforms: Use fieldsets for palettes instead of tables (Thanks to Jo Hasenau)
+ * Fixed bug #14505: treeView implementation fails in adding title-tags to sprite icons (Thanks to Steffen Ritter)
2010-05-28 Christian Kuhn <lolli@schwarzbu.ch>
} else {
$icon = t3lib_iconWorks::getSpriteIconForRecord($this->table, $row, array(
- 'title' => ($this->showDefaultTitleAttribute ? 'UID: '. $row['uid'] : ''),
+ 'title' => ($this->showDefaultTitleAttribute ? 'UID: ' . $row['uid'] : $this->getTitleAttrib($row)),
'class' => 'c-recIcon'
));
* @param array Data row for element.
* @return string Page icon
*/
- function wrapIcon($icon,&$row) {
-
- // Add title attribute to input icon tag
- $theFolderIcon = $this->addTagAttributes($icon,($this->titleAttrib ? $this->titleAttrib.'="'.$this->getTitleAttrib($row).'"' : ''));
+ function wrapIcon($theFolderIcon, &$row) {
// Wrap icon in click-menu link.
if (!$this->ext_IconMode) {
* @param array Data row for element.
* @return string Page icon
*/
- function wrapIcon($icon,&$row) {
+ function wrapIcon($thePageIcon, &$row) {
// If the record is locked, present a warning sign.
if ($lockInfo=t3lib_BEfunc::isRecordLocked('pages',$row['uid'])) {
$aOnClick = 'alert('.$GLOBALS['LANG']->JScharCode($lockInfo['msg']).');return false;';
'</a>';
} else $lockIcon = '';
- // Add title attribute to input icon tag
- $thePageIcon = $this->addTagAttributes($icon, $this->titleAttrib.'="'.$this->getTitleAttrib($row).'"');
-
// Wrap icon in click-menu link.
if (!$this->ext_IconMode) {
$thePageIcon = $GLOBALS['TBE_TEMPLATE']->wrapClickMenuOnIcon($thePageIcon,'pages',$row['uid'],0,'&bank='.$this->bank);