Index: t3lib/class.t3lib_tceforms.php
===================================================================
--- t3lib/class.t3lib_tceforms.php (Revision 8127)
+++ t3lib/class.t3lib_tceforms.php (Arbeitskopie)
@@ -2277,7 +2277,7 @@
$onlySingleTableAllowed = (count($tempFT) == 1);
foreach ($tempFT as $theT) {
$info.= ' ' .
- t3lib_iconWorks::getIconImage($theT, array(), $this->backPath, 'align="top"') .
+ t3lib_iconWorks::getSpriteIconForRecord($theT, array()) .
htmlspecialchars($this->sL($GLOBALS['TCA'][$theT]['ctrl']['title'])) .
'
';
}
@@ -4970,8 +4970,8 @@
$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;
}
Index: t3lib/class.t3lib_admin.php
===================================================================
--- t3lib/class.t3lib_admin.php (Revision 8127)
+++ t3lib/class.t3lib_admin.php (Arbeitskopie)
@@ -167,7 +167,7 @@
$this->genTree_HTML.= $depthData.
'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)).'';
}
@@ -257,7 +257,7 @@
$this->genTree_HTML.= $depthData.
'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)).'';
+ t3lib_iconWorks::getSpriteIconForRecord($table, $row, array('title'=> $table)) . htmlspecialchars($row['uid'] . ': ' . t3lib_BEfunc::getRecordTitle($table,$row)) . '';
}
// Register various data for this item:
Index: t3lib/class.t3lib_positionmap.php
===================================================================
--- t3lib/class.t3lib_positionmap.php (Revision 8127)
+++ t3lib/class.t3lib_positionmap.php (Arbeitskopie)
@@ -541,7 +541,7 @@
* @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);
}
Index: t3lib/class.t3lib_clipboard.php
===================================================================
--- t3lib/class.t3lib_clipboard.php (Revision 8127)
+++ t3lib/class.t3lib_clipboard.php (Arbeitskopie)
@@ -527,7 +527,7 @@
$lines[]='
' .
- t3lib_iconWorks::getIconImage($table, $rec, $this->backPath,' style="margin-left: 38px;"') . ' |
+ t3lib_iconWorks::getSpriteIconForRecord($table, $rec, array('style' => "margin-left: 38px;")) . '
' . htmlspecialchars(
t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table, $rec), $GLOBALS['BE_USER']->uc['titleLen'])) .
$modeData . ' |
Index: t3lib/class.t3lib_befunc.php
===================================================================
--- t3lib/class.t3lib_befunc.php (Revision 8127)
+++ t3lib/class.t3lib_befunc.php (Arbeitskopie)
@@ -4403,7 +4403,7 @@
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$theRows[] = $row;
$out.=''.
- 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']).
'
';
}
Index: t3lib/class.t3lib_tceforms_inline.php
===================================================================
--- t3lib/class.t3lib_tceforms_inline.php (Revision 8127)
+++ t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie)
@@ -539,7 +539,7 @@
}
$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 = '' . $recTitle . '';
if (!$isVirtualRecord) {
$iconImg = $this->wrapWithAnchor($iconImg, '#', array('onclick' => $onClick));
Index: typo3/class.browse_links.php
===================================================================
--- typo3/class.browse_links.php (Revision 8127)
+++ typo3/class.browse_links.php (Arbeitskopie)
@@ -1819,7 +1819,7 @@
// 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.'
';
@@ -1839,7 +1839,7 @@
$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='';
} else {
@@ -1910,7 +1910,7 @@
$ATag_alt=substr($ATag,0,-4).",'',1);\">";
$ATag_e='';
}
- $picon=t3lib_iconWorks::getIconImage('pages',$mainPageRec,$BACK_PATH,'');
+ $picon=t3lib_iconWorks::getSpriteIconForRecord('pages', $mainPageRec);
$pBicon=$ATag2?'':'';
$pText=htmlspecialchars(t3lib_div::fixed_lgd_cs($mainPageRec['title'],$titleLen));
$out.=$picon.$ATag2.$pBicon.$ATag_e.$ATag.$pText.$ATag_e.'
';
Index: typo3/class.db_list.inc
===================================================================
--- typo3/class.db_list.inc (Revision 8127)
+++ typo3/class.db_list.inc (Arbeitskopie)
@@ -386,7 +386,7 @@
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']);
Index: typo3/alt_shortcut.php
===================================================================
--- typo3/alt_shortcut.php (Revision 8127)
+++ typo3/alt_shortcut.php (Arbeitskopie)
@@ -714,7 +714,7 @@
}
$selector.= ''.
- t3lib_iconWorks::getIconImage('sys_workspace',array(),$this->doc->backPath,'align="top"').
+ t3lib_iconWorks::getSpriteIconForRecord('sys_workspace', array()).
'';
if (count($options) > 1) {
$selector .= '';
Index: typo3/template.php
===================================================================
--- typo3/template.php (Revision 8127)
+++ typo3/template.php (Arbeitskopie)
@@ -449,7 +449,7 @@
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);
Index: typo3/sysext/lowlevel/dbint/index.php
===================================================================
--- typo3/sysext/lowlevel/dbint/index.php (Revision 8127)
+++ typo3/sysext/lowlevel/dbint/index.php (Arbeitskopie)
@@ -538,7 +538,7 @@
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;
Index: typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php
===================================================================
--- typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php (Revision 8127)
+++ typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php (Arbeitskopie)
@@ -152,7 +152,7 @@
foreach ($menuItems as $rec) {
t3lib_BEfunc::workspaceOL('pages',$rec);
if (is_array($rec)) {
- $lines[]= ''.t3lib_iconWorks::getIconImage('pages',$rec,$GLOBALS['BACK_PATH'],'align="top" '.t3lib_BEfunc::titleAttribForPages($rec)).
+ $lines[] = '' . 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'])).'';
}
}
Index: typo3/sysext/version/cm1/index.php
===================================================================
--- typo3/sysext/version/cm1/index.php (Revision 8127)
+++ typo3/sysext/version/cm1/index.php (Arbeitskopie)
@@ -440,7 +440,7 @@
// 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:
@@ -848,7 +848,7 @@
// 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');
}
@@ -887,7 +887,7 @@
}
// 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');
@@ -1441,7 +1441,7 @@
$HTMLdata.
($iconMode < 2 ?
'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).
'
'.
Index: typo3/sysext/impexp/app/index.php
===================================================================
--- typo3/sysext/impexp/app/index.php (Revision 8127)
+++ typo3/sysext/impexp/app/index.php (Arbeitskopie)
@@ -221,7 +221,7 @@
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'],
@@ -537,7 +537,7 @@
$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) {
@@ -815,7 +815,7 @@
$row[] = '
|
'.$LANG->getLL('makeconfig_record',1).' |
- '.t3lib_iconworks::getIconImage($tName,$rec,$GLOBALS['BACK_PATH'],' align="top"').
+ | ' . t3lib_iconworks::getSpriteIconForRecord($tName, $rec) .
t3lib_BEfunc::getRecordTitle($tName,$rec,TRUE).
' |
';
@@ -836,8 +836,8 @@
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).
'
';
}
}
Index: typo3/sysext/impexp/class.tx_impexp.php
===================================================================
--- typo3/sysext/impexp/class.tx_impexp.php (Revision 8127)
+++ typo3/sysext/impexp/class.tx_impexp.php (Arbeitskopie)
@@ -2675,7 +2675,7 @@
}
}
- $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:
Index: typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php
===================================================================
--- typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php (Revision 8127)
+++ typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php (Arbeitskopie)
@@ -57,7 +57,7 @@
// 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
Index: typo3/sysext/opendocs/class.tx_opendocs.php
===================================================================
--- typo3/sysext/opendocs/class.tx_opendocs.php (Revision 8127)
+++ typo3/sysext/opendocs/class.tx_opendocs.php (Arbeitskopie)
@@ -159,7 +159,7 @@
$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 = '';
Index: typo3/sysext/sys_action/task/class.tx_sysaction_task.php
===================================================================
--- typo3/sysext/sys_action/task/class.tx_sysaction_task.php (Revision 8127)
+++ typo3/sysext/sys_action/task/class.tx_sysaction_task.php (Arbeitskopie)
@@ -447,7 +447,7 @@
// 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
@@ -773,7 +773,7 @@
'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)))
);
}
Index: typo3/class.db_list_extra.inc
===================================================================
--- typo3/class.db_list_extra.inc (Revision 8127)
+++ typo3/class.db_list_extra.inc (Arbeitskopie)
@@ -682,7 +682,6 @@
// 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;' : '')));
Index: typo3/alt_clickmenu.php
===================================================================
--- typo3/alt_clickmenu.php (Revision 8127)
+++ typo3/alt_clickmenu.php (Arbeitskopie)
@@ -1089,7 +1089,7 @@
// 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)))
);
}
Index: typo3/move_el.php
===================================================================
--- typo3/move_el.php (Revision 8127)
+++ typo3/move_el.php (Arbeitskopie)
@@ -289,7 +289,7 @@
$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):
@@ -324,7 +324,7 @@
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'
';
} else {
- $code.= t3lib_iconWorks::getIconImage('pages',$pidPageInfo,$BACK_PATH,'').
+ $code.= t3lib_iconWorks::getSpriteIconForRecord('pages', $pidPageInfo) .
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'
';
}
@@ -355,7 +355,7 @@
$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:
@@ -379,7 +379,7 @@
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'
';
} else {
- $code.= t3lib_iconWorks::getIconImage('pages',$pidPageInfo,$BACK_PATH,'').
+ $code.= t3lib_iconWorks::getSpriteIconForRecord('pages', $pidPageInfo).
t3lib_BEfunc::getRecordTitle('pages',$pidPageInfo,TRUE).
'
';
}