Bug #22735 ยป fixTitleAttribInTrees.diff
t3lib/class.t3lib_treeview.php (Arbeitskopie) | ||
---|---|---|
} 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'
|
||
));
|
||
|
typo3/class.filelistfoldertree.php (Arbeitskopie) | ||
---|---|---|
* @param array Data row for element.
|
||
* @return string Page icon
|
||
*/
|
||
function wrapIcon($icon,&$row) {
|
||
function wrapIcon($theFolderIcon,&$row) {
|
||
// Add title attribute to input icon tag
|
||
$theFolderIcon = $this->addTagAttributes($icon,($this->titleAttrib ? $this->titleAttrib.'="'.$this->getTitleAttrib($row).'"' : ''));
|
||
// Wrap icon in click-menu link.
|
||
if (!$this->ext_IconMode) {
|
||
$theFolderIcon = $GLOBALS['TBE_TEMPLATE']->wrapClickMenuOnIcon($theFolderIcon,$row['path'],'',0);
|
typo3/class.webpagetree.php (Arbeitskopie) | ||
---|---|---|
* @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);
|