Project

General

Profile

Feature #16414 » 3954.patch

Administrator Admin, 2006-07-31 09:06

View differences:

typo3_src-4.0/typo3/class.browse_links.php 2006-07-31 08:53:19.640836255 +0200
// 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,'','');
$picon=t3lib_iconWorks::getIconImage('pages',$mainPageRec,'','title="id='.$expPageId.'"','');
$picon.= htmlspecialchars(t3lib_div::fixed_lgd_cs($mainPageRec['title'],$titleLen));
$out.=$picon.'<br />';
// Look up tt_content elements from the expanded page:
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'uid,header,hidden,starttime,endtime,fe_group,CType,colpos,bodytext',
'uid,pid,header,hidden,starttime,endtime,fe_group,CType,colpos,bodytext',
'tt_content',
'pid='.intval($expPageId).
t3lib_BEfunc::deleteClause('tt_content').
......
$c=0;
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$c++;
$icon=t3lib_iconWorks::getIconImage('tt_content',$row,$BACK_PATH,'');
$icon=t3lib_iconWorks::getIconImage('tt_content',$row,$BACK_PATH,'title="id='.$row['pid'].'#c'.$row['uid'].'"');
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 {
(1-1/3)