Project

General

Profile

Bug #23043 ยป getIconName.patch

Administrator Admin, 2010-06-29 16:58

View differences:

t3lib/class.t3lib_admin.php (working copy)
$this->genTree_HTML.= $depthData.
'<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/'.$PM.$BTM.'.gif','width="18" height="16"').' align="top" alt="" />'.
$versionLabel.
t3lib_iconWorks::getIconImage('pages',$row,$this->backPath,'align="top"').
t3lib_iconWorks::getSpriteIconForRecord('pages', $row) .
htmlspecialchars($row['uid'].': '.t3lib_div::fixed_lgd_cs(strip_tags($row['title']),50)).'</span></div>';
}
......
$this->genTree_HTML.= $depthData.
'<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/'.$PM.$BTM.'.gif','width="18" height="16"').' align="top" alt="" />'.
$versionLabel.
t3lib_iconWorks::getIconImage($table,$row,$this->backPath,'align="top" title="'.$table.'"').htmlspecialchars($row['uid'].': '.t3lib_BEfunc::getRecordTitle($table,$row)).'</span></div>';
t3lib_iconWorks::getSpriteIconForRecord($table, $row, array('title'=> $table)) . htmlspecialchars($row['uid'] . ': ' . t3lib_BEfunc::getRecordTitle($table,$row)) . '</span></div>';
}
// Register various data for this item:
t3lib/class.t3lib_befunc.php (working copy)
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$theRows[] = $row;
$out.='<span class="nobr"><a href="'.htmlspecialchars($script.'?id='.$row['uid']).'">'.
t3lib_iconWorks::getIconImage('pages', $row, $backPath, 'title="' . htmlspecialchars(self::getRecordPath($row['uid'], $perms_clause, 20)) . '" align="top"') .
t3lib_iconWorks::getSpriteIconForRecord('pages', $row, array('title' => htmlspecialchars(self::getRecordPath($row['uid'], $perms_clause, 20)))) .
htmlspecialchars($row['title']).
'</a></span><br />';
}
t3lib/class.t3lib_clipboard.php (working copy)
$lines[]='
<tr>
<td class="' . $bgColClass . '">' .
t3lib_iconWorks::getIconImage($table, $rec, $this->backPath,' style="margin-left: 38px;"') . '</td>
t3lib_iconWorks::getSpriteIconForRecord($table, $rec, array('style' => "margin-left: 38px;")) . '</td>
<td class="' . $bgColClass . '" nowrap="nowrap" width="95%">&nbsp;' . htmlspecialchars(
t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table, $rec), $GLOBALS['BE_USER']->uc['titleLen'])) .
$modeData . '&nbsp;</td>
t3lib/class.t3lib_positionmap.php (working copy)
* @return string HTML
*/
function getRecordHeader($row) {
$line = t3lib_iconWorks::getIconImage('tt_content',$row,$this->backPath,' align="top" title="'.htmlspecialchars(t3lib_BEfunc::getRecordIconAltText($row,'tt_content')).'"');
$line = t3lib_iconWorks::getSpriteIconForRecord('tt_content', $row, array('title' => htmlspecialchars(t3lib_BEfunc::getRecordIconAltText($row,'tt_content'))));
$line.= t3lib_BEfunc::getRecordTitle('tt_content',$row,TRUE);
return $this->wrapRecordTitle($line,$row);
}
t3lib/class.t3lib_tceforms.php (working copy)
$onlySingleTableAllowed = (count($tempFT) == 1);
foreach ($tempFT as $theT) {
$info.= '<span class="nobr">&nbsp;&nbsp;&nbsp;&nbsp;' .
t3lib_iconWorks::getIconImage($theT, array(), $this->backPath, 'align="top"') .
t3lib_iconWorks::getSpriteIconForRecord($theT, array()) .
htmlspecialchars($this->sL($GLOBALS['TCA'][$theT]['ctrl']['title'])) .
'</span><br />';
}
......
$arr[$k] = str_replace('###RECORD_LABEL###', $rLabel, $arr[$k]);
$arr[$k] = str_replace('###TABLE_TITLE###',htmlspecialchars($this->sL($TCA[$table]['ctrl']['title'])),$arr[$k]);
$titleA=t3lib_BEfunc::titleAltAttrib($this->getRecordPath($table,$rec));
$arr[$k]=str_replace('###RECORD_ICON###',t3lib_iconWorks::getIconImage($table,$rec,$this->backPath,'class="absmiddle"'.$titleA),$arr[$k]);
$arr[$k] = str_replace('###RECORD_ICON###', t3lib_iconWorks::getSpriteIconForRecord($table, $rec, array('title' => $this->getRecordPath($table, $rec))), $arr[$k]);
}
return $arr;
}
t3lib/class.t3lib_tceforms_inline.php (working copy)
}
$altText = t3lib_BEfunc::getRecordIconAltText($rec, $foreign_table);
$iconImg = t3lib_iconWorks::getIconImage($foreign_table, $rec, $this->backPath, 'title="' . htmlspecialchars($altText) . '" class="absmiddle" id="' . $objectId . '_icon"');
$iconImg = t3lib_iconWorks::getSpriteIconForRecord($foreign_table, $rec, array('title' => htmlspecialchars($altText), 'id' => $objectId . '_icon"'));
$label = '<span id="' . $objectId . '_label">' . $recTitle . '</span>';
if (!$isVirtualRecord) {
$iconImg = $this->wrapWithAnchor($iconImg, '#', array('onclick' => $onClick));
typo3/alt_clickmenu.php (working copy)
// Return the printed elements:
return $this->printItems($menuItems,
t3lib_iconWorks::getIconImage($table,$this->rec,$this->PH_backPath,' class="absmiddle" title="'.htmlspecialchars(t3lib_BEfunc::getRecordIconAltText($this->rec,$table)).'"').t3lib_BEfunc::getRecordTitle($table,$this->rec,TRUE)
t3lib_iconWorks::getSpriteIconForRecord($table,$this->rec,array('title'=> t3lib_BEfunc::getRecordTitle($table,$this->rec,TRUE)))
);
}
typo3/alt_shortcut.php (working copy)
}
$selector.= '<a href="mod/user/ws/index.php" target="content">'.
t3lib_iconWorks::getIconImage('sys_workspace',array(),$this->doc->backPath,'align="top"').
t3lib_iconWorks::getSpriteIconForRecord('sys_workspace', array()).
'</a>';
if (count($options) > 1) {
$selector .= '<select name="_workspaceSelector" onchange="changeWorkspace(this.options[this.selectedIndex].value);">'.implode('',$options).'</select>';
typo3/class.browse_links.php (working copy)
// Create header for listing, showing the page title/icon:
$titleLen=intval($GLOBALS['BE_USER']->uc['titleLen']);
$mainPageRec = t3lib_BEfunc::getRecordWSOL('pages',$expPageId);
$picon = t3lib_iconWorks::getIconImage('pages', $mainPageRec, $BACK_PATH, '');
$picon = t3lib_iconWorks::getSpriteIconForRecord('pages', $mainPageRec);
$picon.= htmlspecialchars(t3lib_div::fixed_lgd_cs($mainPageRec['title'],$titleLen));
$out.=$picon.'<br />';
......
$c=0;
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$c++;
$icon=t3lib_iconWorks::getIconImage('tt_content',$row,$BACK_PATH,'');
$icon=t3lib_iconWorks::getSpriteIconForRecord('tt_content', $row,$BACK_PATH);
if ($this->curUrlInfo['act']=='page' && $this->curUrlInfo['cElement']==$row['uid']) {
$arrCol='<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/blinkarrow_left.gif','width="5" height="9"').' class="c-blinkArrowL" alt="" />';
} else {
......
$ATag_alt=substr($ATag,0,-4).",'',1);\">";
$ATag_e='</a>';
}
$picon=t3lib_iconWorks::getIconImage('pages',$mainPageRec,$BACK_PATH,'');
$picon=t3lib_iconWorks::getSpriteIconForRecord('pages', $mainPageRec);
$pBicon=$ATag2?'<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/plusbullet2.gif','width="18" height="16"').' alt="" />':'';
$pText=htmlspecialchars(t3lib_div::fixed_lgd_cs($mainPageRec['title'],$titleLen));
$out.=$picon.$ATag2.$pBicon.$ATag_e.$ATag.$pText.$ATag_e.'<br />';
typo3/class.db_list.inc (working copy)
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) {
// Create content:
$iconImg = t3lib_iconWorks::getIconImage('sys_note',$row,$this->backPath,'');
$iconImg = t3lib_iconWorks::getSpriteIconForRecord('sys_note', $row);
$subject = htmlspecialchars($row['subject']);
$fields = array();
$fields['Author:'] = htmlspecialchars($row['author'].($row['email'] && $row['author'] ? ', ':'').$row['email']);
typo3/class.db_list_extra.inc (working copy)
// The icon with link
$alttext = t3lib_BEfunc::getRecordIconAltText($row,$table);
//$iconImg = t3lib_iconWorks::getIconImage($table,$row,$this->backPath,'title="'.htmlspecialchars($alttext).'"'.);
$iconImg = t3lib_iconWorks::getSpriteIconForRecord($table, $row, array('title' => htmlspecialchars($alttext), 'style' => ($indent ? ' margin-left: ' . $indent . 'px;' : '')));
typo3/mod/user/ws/class.wslib_gui.php (working copy)
// Get CURRENT online record and icon based on "t3ver_oid":
$rec_on = t3lib_BEfunc::getRecord($table,$oid);
$icon = t3lib_iconWorks::getIconImage($table, $rec_on, $this->doc->backPath,' align="top" title="'.t3lib_BEfunc::getRecordIconAltText($rec_on,$table).'"');
$icon = t3lib_iconWorks::getSpriteIconForRecord($table, $rec_on, array('title' => t3lib_BEfunc::getRecordIconAltText($rec_on,$table)));
if ($GLOBALS['BE_USER']->workspace===0) { // Only edit online records if in ONLINE workspace:
$icon = $this->doc->wrapClickMenuOnIcon($icon, $table, $rec_on['uid'], 2, '', '+edit,view,info,delete');
}
......
}
// Get icon:
$icon = t3lib_iconWorks::getIconImage($table, $rec_off, $this->doc->backPath, ' align="top" title="'.t3lib_BEfunc::getRecordIconAltText($rec_off,$table).'"');
$icon = t3lib_iconWorks::getSpriteIconForRecord($table, $rec_on, array('title' => t3lib_BEfunc::getRecordIconAltText($rec_on, $table)));
$icon = $this->doc->wrapClickMenuOnIcon($icon, $table, $tempUid, 2, '', '+edit,' . ($table == 'pages' ? 'view,info,' : '') . 'delete');
// Prepare diff-code:
......
function displayWorkspaceOverview_pageTreeIconTitle($pageUid, $title, $indentCount) {
$pRec = t3lib_BEfunc::getRecord('pages',$pageUid);
return '<img src="clear.gif" width="1" height="1" hspace="'.($indentCount * $this->pageTreeIndent).'" align="top" alt="" />'. // Indenting page tree
t3lib_iconWorks::getIconImage('pages',$pRec,$this->doc->backPath,' align="top" title="'.t3lib_BEfunc::getRecordIconAltText($pRec,'pages').'"').
t3lib_iconWorks::getSpriteIconForRecord('pages', $pRec, array('title' => t3lib_BEfunc::getRecordIconAltText($pRec, 'pages'))) .
htmlspecialchars(t3lib_div::fixed_lgd_cs($title,$this->pageTreeIndent_titleLgd)).
'&nbsp;&nbsp;';
}
......
$HTMLdata.
($iconMode < 2 ?
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/ol/join'.($iconMode ? 'bottom' : '').'.gif','width="18" height="16"').' alt="" />'.
t3lib_iconWorks::getIconImage($tN, $rec, $this->doc->backPath,'') : '').
t3lib_iconWorks::getSpriteIconRecord($tN, $rec) : '').
t3lib_BEfunc::getRecordTitle($tN, $rec, TRUE).
'</td>
<td class="cmdCell">'.
typo3/mod/user/ws/index.php (working copy)
$description = '';
switch($GLOBALS['BE_USER']->workspace) {
case 0:
$title = t3lib_iconWorks::getIconImage('sys_workspace', array(), $this->doc->backPath, ' align="top"').'['.$LANG->getLL('shortcut_onlineWS').']';
$title = t3lib_iconWorks::getSpriteIconForRecord('sys_workspace', array()) . '[' . $LANG->getLL('shortcut_onlineWS') . ']';
$description = $LANG->getLL('workspace_description_live');
break;
case -1:
$title = t3lib_iconWorks::getIconImage('sys_workspace', array(), $this->doc->backPath, ' align="top"').'['.$LANG->getLL('shortcut_offlineWS').']';
$title = t3lib_iconWorks::getSpriteIconForRecord('sys_workspace', array()) . '[' . $LANG->getLL('shortcut_offlineWS') . ']';
$description = $LANG->getLL('workspace_description_draft');
break;
case -99:
......
$description = $LANG->getLL('workspace_description_no_access');
break;
default:
$title = t3lib_iconWorks::getIconImage('sys_workspace', $GLOBALS['BE_USER']->workspaceRec, $this->doc->backPath, ' align="top"').
$title = t3lib_iconWorks::getSpriteIconForRecord('sys_workspace', $GLOBALS['BE_USER']->workspaceRec) .
'['.$GLOBALS['BE_USER']->workspace.'] '.t3lib_BEfunc::getRecordTitle('sys_workspace',$GLOBALS['BE_USER']->workspaceRec,TRUE);
$description = ($GLOBALS['BE_USER']->workspaceRec['description'] ? htmlspecialchars($GLOBALS['BE_USER']->workspaceRec['description']) : '<em>[' . $LANG->getLL('shortcut_noWSfound') . ']</em>');
break;
......
}
else {
// normal icon
$str = t3lib_iconWorks::getIconImage('pages', $mp, $GLOBALS['BACK_PATH'], ' align="absmiddle"');
$str = t3lib_iconWorks::getSpriteIconForRecord('pages', $mp);
$classAttr = '';
}
// Will show UID on hover. Just convinient to user.
......
}
else {
// normal icon
$str = t3lib_iconWorks::getIconImage('sys_filemounts', $mp, $GLOBALS['BACK_PATH'], ' align="absmiddle"');
$str = t3lib_iconWorks::getSpriteIconForRecord('sys_filemounts', $mp);
$classAttr = '';
}
// Will show UID on hover. Just convinient to user.
......
else {
$tag0 = $tag1 = '';
}
$content_array[] = $this->doc->wrapClickMenuOnIcon(t3lib_iconWorks::getIconImage('be_users', $uid, $GLOBALS['BACK_PATH'], ' align="middle" alt="UID: ' . $uid . '"'), 'be_users', $uid, 2).
$content_array[] = $this->doc->wrapClickMenuOnIcon(t3lib_iconWorks::getSpriteIconForRecord('be_users', array('uid' => $uid), array('title' => '"UID: ' . $uid . '"')), 'be_users', $uid, 2).
$tag0 . htmlspecialchars($user['username']) . $tag1;
}
}
......
else {
$tag0 = $tag1 = '';
}
$content_array[] = $this->doc->wrapClickMenuOnIcon(t3lib_iconWorks::getIconImage($table, $this->be_user_Array[$id], $GLOBALS['BACK_PATH'], ' align="middle" alt="UID: ' . $id . '"'), $table, $id, 2) .
$content_array[] = $this->doc->wrapClickMenuOnIcon(t3lib_iconWorks::getSpriteIconForRecord($table, $this->be_user_Array[$id], array('title' => '"UID: ' . $id . '"')), $table, $id, 2) .
$tag0 . htmlspecialchars($this->be_user_Array_full[$id]['username']) . $tag1;
}
else {
......
if (false === $groups) {
$groups = t3lib_BEfunc::getGroupNames();
}
$content_array[] = $this->doc->wrapClickMenuOnIcon(t3lib_iconWorks::getIconImage($table, $groups[$id], $GLOBALS['BACK_PATH'], ' align="middle" alt="UID: ' . $id . '"'), $table, $id, 2) .
$content_array[] = $this->doc->wrapClickMenuOnIcon(t3lib_iconWorks::getSpriteIconForRecord($table, $groups[$id], array('title' => '"UID: ' . $id . '"')), $table, $id, 2) .
$groups[$id]['title'];
}
}
......
else {
$tag0 = $tag1 = '';
}
$content_array[] = t3lib_iconWorks::getIconImage('be_users', $this->be_user_Array[$id], $GLOBALS['BACK_PATH'], ' align="middle" alt="UID: ' . $id . '"') .
$content_array[] = t3lib_iconWorks::getSpriteIconForRecord('be_users', $this->be_user_Array[$id], array('title' => '"UID: ' . $id . '"')) .
$tag0 . htmlspecialchars($this->be_user_Array_full[$userUID]['username']) . $tag1;
}
}
typo3/move_el.php (working copy)
$elRow = t3lib_BEfunc::getRecordWSOL($this->table,$this->moveUid);
// Headerline: Icon, record title:
$hline = t3lib_iconWorks::getIconImage($this->table,$elRow,$BACK_PATH,' id="c-recIcon" title="'.htmlspecialchars(t3lib_BEfunc::getRecordIconAltText($elRow,$this->table)).'"');
$hline = t3lib_iconWorks::getSpriteIconForRecord($this->table, $elRow, array('id' => "c-recIcon", 'title' => htmlspecialchars(t3lib_BEfunc::getRecordIconAltText($elRow,$this->table))));
$hline.= t3lib_BEfunc::getRecordTitle($this->table,$elRow,TRUE);
// Make-copy checkbox (clicking this will reload the page with the GET var makeCopy set differently):
......
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'</a><br />';
} else {
$code.= t3lib_iconWorks::getIconImage('pages',$pidPageInfo,$BACK_PATH,'').
$code.= t3lib_iconWorks::getSpriteIconForRecord('pages', $pidPageInfo) .
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'<br />';
}
......
$posMap->cur_sys_language = $this->sys_language;
// Headerline for the parent page: Icon, record title:
$hline = t3lib_iconWorks::getIconImage('pages',$pageinfo,$BACK_PATH,' title="'.htmlspecialchars(t3lib_BEfunc::getRecordIconAltText($pageinfo,'pages')).'"');
$hline = t3lib_iconWorks::getSpriteIconForRecord('pages', $pageinfo, array('title' => htmlspecialchars(t3lib_BEfunc::getRecordIconAltText($pageinfo, 'pages'))));
$hline.= t3lib_BEfunc::getRecordTitle('pages',$pageinfo,TRUE);
// Load SHARED page-TSconfig settings and retrieve column list from there, if applicable:
......
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'</a><br />';
} else {
$code.= t3lib_iconWorks::getIconImage('pages',$pidPageInfo,$BACK_PATH,'').
$code.= t3lib_iconWorks::getSpriteIconForRecord('pages', $pidPageInfo).
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'<br />';
}
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php (working copy)
// Add icon with clickmenu, etc:
if ($pageRecord['uid']) { // If there IS a real page
$alttext = t3lib_BEfunc::getRecordIconAltText($pageRecord, 'pages');
$iconImg = t3lib_iconWorks::getIconImage('pages', $pageRecord, $this->backPath, 'class="absmiddle" title="'. htmlspecialchars($alttext) . '"');
$iconImg = t3lib_iconWorks::getSpriteIconForRecord('pages', $pageRecord, array('title' => htmlspecialchars($alttext)));
// Make Icon:
$theIcon = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($iconImg, 'pages', $pageRecord['uid']);
} else { // On root-level of page tree
typo3/sysext/impexp/app/index.php (working copy)
if ($pid>0) {
$rootRec = t3lib_befunc::getRecordWSOL('pages',$pid);
$firstHtml.= $this->wrapIcon(t3lib_iconWorks::getIconImage('pages',$rootRec,$this->backPath,'align="top"'),$rootRec);
$firstHtml.= $this->wrapIcon(t3lib_iconWorks::getSpriteIconForRecord('pages', $rootRec), $rootRec);
} else {
$rootRec = array(
'title' => $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'],
......
$tree = t3lib_div::makeInstance('t3lib_pageTree');
$tree->init('AND '.$this->perms_clause.$this->filterPageIds($this->export->excludeMap));
$HTML = t3lib_iconWorks::getIconImage('pages',$sPage,$GLOBALS['BACK_PATH'],'align="top"');
$HTML = t3lib_iconWorks::getSpriteIconForRecord('pages', $sPage);
$tree->tree[] = Array('row'=>$sPage,'HTML'=>$HTML);
$tree->buffer_idH = array();
if ($inData['pagetree']['levels']>0) {
......
$row[] = '
<tr class="bgColor4">
<td><strong>'.$LANG->getLL('makeconfig_record',1).'</strong></td>
<td>'.t3lib_iconworks::getIconImage($tName,$rec,$GLOBALS['BACK_PATH'],' align="top"').
<td>' . t3lib_iconworks::getSpriteIconForRecord($tName, $rec) .
t3lib_BEfunc::getRecordTitle($tName,$rec,TRUE).
'<input type="hidden" name="tx_impexp[record][]" value="'.htmlspecialchars($tName.':'.$rUid).'" /></td>
</tr>';
......
if ($GLOBALS['BE_USER']->check('tables_select',$tName)) {
$rec = t3lib_BEfunc::getRecordWSOL('pages', $rParts[1]);
$tblList.='Table "'.$tName.'" from '.t3lib_iconworks::getIconImage('pages',$rec,$GLOBALS['BACK_PATH'],' align="top"').
t3lib_BEfunc::getRecordTitle('pages',$rec,TRUE).
$tblList .= 'Table "' . $tName . '" from ' . t3lib_iconworks::getSpriteIconForRecord('pages', $rec) .
t3lib_BEfunc::getRecordTitle('pages', $rec, TRUE).
'<input type="hidden" name="tx_impexp[list][]" value="'.htmlspecialchars($ref).'" /><br/>';
}
}
typo3/sysext/impexp/class.tx_impexp.php (working copy)
}
}
$pInfo['preCode'] = $preCode.t3lib_iconworks::getIconImage($table,$this->dat['records'][$table.':'.$uid]['data'],$GLOBALS['BACK_PATH'],'align="top" title="'.htmlspecialchars($table.':'.$uid).'"');
$pInfo['preCode'] = $preCode.t3lib_iconworks::getSpriteIconForRecord($table, $this->dat['records'][$table . ':' . $uid]['data'], array('title' => htmlspecialchars($table . ':' . $uid)));
$pInfo['title'] = htmlspecialchars($record['title']);
// View page:
typo3/sysext/lowlevel/dbint/index.php (working copy)
if ($TCA[$t]['ctrl']['hideTable']) {
continue;
}
$codeArr[$t][]=t3lib_iconWorks::getIconImage($t,array(),$BACK_PATH,'hspace="4" align="top"');
$codeArr[$t][]=t3lib_iconWorks::getSpriteIconForRecord($t, array());
$codeArr[$t][]=$LANG->sL($TCA[$t]['ctrl']['title']);
$codeArr[$t][]=$t;
typo3/sysext/opendocs/class.tx_opendocs.php (working copy)
$uid = $document[3]['uid'];
$record = t3lib_BEfunc::getRecordWSOL($table, $uid);
$label = htmlspecialchars(strip_tags(t3lib_div::htmlspecialchars_decode($document[0])));
$icon = t3lib_iconWorks::getIconImage($table, $record, $GLOBALS['BACK_PATH']);
$icon = t3lib_iconWorks::getSpriteIconForRecord($table, $record);
$link = $GLOBALS['BACK_PATH'] . 'alt_doc.php?' . $document[2];
$firstRow = '';
typo3/sysext/sys_action/task/class.tx_sysaction_task.php (working copy)
// render the user records
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$icon = t3lib_iconworks::getIconImage('be_users', $row, $GLOBALS['BACK_PATH'], 'title="uid=' . $row['uid'] . '" hspace="2" align="top"');
$icon = t3lib_iconworks::getSpriteIconForRecord('be_users', $row, array('title' => 'uid=' . $row['uid']));
$line = $icon . $this->action_linkUserName($row['username'], $row['realName'], $action['uid'], $row['uid']);
// selected user
......
'description' => t3lib_BEfunc::getRecordTitle($el['table'], $dbAnalysis->results[$el['table']][$el['id']]),
'descriptionHtml' => $description,
'link' => $GLOBALS['BACK_PATH'] . 'alt_doc.php?returnUrl=' . rawurlencode(t3lib_div::getIndpEnv("REQUEST_URI")) . '&edit[' . $el['table'] . '][' . $el['id'] . ']=edit',
'icon' => t3lib_iconworks::getIconImage($el['table'], $dbAnalysis->results[$el['table']][$el['id']], $GLOBALS['BACK_PATH'], 'hspace="2" align="top" title="' . htmlspecialchars($path) . '"')
'icon' => t3lib_iconworks::getSpriteIconForRecord($el['table'], $dbAnalysis->results[$el['table']][$el['id']], array('title' => htmlspecialchars($path)))
);
}
typo3/sysext/version/cm1/index.php (working copy)
// Element:
$record = t3lib_BEfunc::getRecord($this->table,$this->uid);
$recordIcon = t3lib_iconWorks::getIconImage($this->table,$record,$this->doc->backPath,'class="absmiddle"');
$recordIcon = t3lib_iconWorks::getSpriteIconForRecord($this->table, $record);
$recTitle = t3lib_BEfunc::getRecordTitle($this->table,$record,TRUE);
// Display versions:
......
// Get CURRENT online record and icon based on "t3ver_oid":
$rec_on = t3lib_BEfunc::getRecord($table,$oid);
$icon = t3lib_iconWorks::getIconImage($table, $rec_on, $this->doc->backPath,' align="top" title="'.t3lib_BEfunc::getRecordIconAltText($rec_on,$table).'"');
$icon = t3lib_iconWorks::getSpriteIconForRecord($table, $rec_on, array('title' => t3lib_BEfunc::getRecordIconAltText($rec_on,$table)));
if ($GLOBALS['BE_USER']->workspace===0) { // Only edit online records if in ONLINE workspace:
$icon = $this->doc->wrapClickMenuOnIcon($icon, $table, $rec_on['uid'], 1, '', '+edit,view,info,delete');
}
......
}
// Get icon
$icon = t3lib_iconWorks::getIconImage($table, $rec_off, $this->doc->backPath, ' align="top" title="'.t3lib_BEfunc::getRecordIconAltText($rec_off,$table).'"');
$icon = t3lib_iconWorks::getSpriteIconForRecord($table, $rec_off, array('title' => t3lib_BEfunc::getRecordIconAltText($rec_off, $table)));
$tempUid = ($table != 'pages' || $vType==='branch' || $GLOBALS['BE_USER']->workspace===0 ? $rec_off['uid'] : $rec_on['uid']);
$icon = $this->doc->wrapClickMenuOnIcon($icon, $table, $tempUid, 1, '', '+edit,' . ($table == 'pages' ? 'view,info,' : '') . 'delete');
......
$HTMLdata.
($iconMode < 2 ?
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/ol/join'.($iconMode ? 'bottom' : '').'.gif','width="18" height="16"').' alt="" />'.
t3lib_iconWorks::getIconImage($tN, $rec, $this->doc->backPath,'') : '').
t3lib_iconWorks::getSpriteIconForRecord($tN, $rec) : '').
t3lib_BEfunc::getRecordTitle($tN, $rec, TRUE).
'</td>
<td class="cmdCell">'.
typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php (working copy)
foreach ($menuItems as $rec) {
t3lib_BEfunc::workspaceOL('pages',$rec);
if (is_array($rec)) {
$lines[]= '<nobr>'.t3lib_iconWorks::getIconImage('pages',$rec,$GLOBALS['BACK_PATH'],'align="top" '.t3lib_BEfunc::titleAttribForPages($rec)).
$lines[] = '<nobr>' . t3lib_iconWorks::getSpriteIconForRecord('pages', $rec, array('title' => t3lib_BEfunc::titleAttribForPages($rec , '', FALSE))) .
htmlspecialchars(t3lib_div::fixed_lgd_cs($rec['title'],$GLOBALS['BE_USER']->uc['titleLen'])).'</nobr>';
}
}
typo3/template.php (working copy)
function getHeader($table,$row,$path,$noViewPageIcon=0,$tWrap=array('','')) {
global $TCA;
if (is_array($row) && $row['uid']) {
$iconImgTag=t3lib_iconWorks::getIconImage($table,$row,$this->backPath,'title="'.htmlspecialchars($path).'"');
$iconImgTag=t3lib_iconWorks::getSpriteIconForRecord($table, $row , array('title' => htmlspecialchars($path)));
$title= strip_tags($row[$TCA[$table]['ctrl']['label']]);
$viewPage = $noViewPageIcon ? '' : $this->viewPageIcon($row['uid'],$this->backPath,'');
if ($table=='pages') $path.=' - '.t3lib_BEfunc::titleAttribForPages($row,'',0);
    (1-1/1)