Project

General

Profile

Bug #27100 » 27100v3.diff

Joh. Feustel, 2011-05-30 11:36

View differences:

t3lib/class.t3lib_admin.php
);
$lostIdList = array();
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($garbage)) {
$this->lRecords[$table][$row['uid']] = array('uid' => $row['uid'], 'pid' => $row['pid'], 'title' => strip_tags($row[$GLOBALS['TCA'][$table]['ctrl']['label']]));
$this->lRecords[$table][$row['uid']] = array(
'uid' => $row['uid'],
'pid' => $row['pid'],
'title' => strip_tags(t3lib_BEfunc::getRecordTitle($table, $row)),
);
$lostIdList[] = $row['uid'];
}
if ($table == 'pages') {
t3lib/class.t3lib_tcemain.php
t3lib_BEfunc::fixVersioningPid($table, $row);
$out = array(
'header' => $row[$GLOBALS['TCA'][$table]['ctrl']['label']],
'header' => t3lib_BEfunc::getRecordTitle($table, $row),
'pid' => $row['pid'],
'event_pid' => $this->eventPid($table, isset($row['_ORIG_pid']) ? $row['t3ver_oid'] : $row['uid'], $row['pid']),
't3ver_state' => $GLOBALS['TCA'][$table]['ctrl']['versioningWS'] ? $row['t3ver_state'] : '',
typo3/sysext/beuser/mod/index.php
foreach ($uGroups as $vv) {
if ($vv) {
$uGRow = t3lib_BEfunc::getRecord('be_groups',$vv);
$pout[]='<tr><td nowrap="nowrap">'.t3lib_iconWorks::getSpriteIconForRecord('be_groups',$uGRow).'&nbsp;'.htmlspecialchars($uGRow['title']).'&nbsp;&nbsp;</td><td width=1% nowrap="nowrap">'.$GLOBALS['SOBE']->elementLinks('be_groups',$uGRow).'</td></tr>';
$title = t3lib_BEfunc::getRecordTitle('be_groups', $uGRow);
$pout[] = '<tr><td nowrap="nowrap">' . t3lib_iconWorks::getSpriteIconForRecord('be_groups', $uGRow) .
'&nbsp;' . htmlspecialchars($title) . '&nbsp;&nbsp;</td><td width="1%" nowrap="nowrap">' .
$GLOBALS['SOBE']->elementLinks('be_groups', $uGRow) . '</td></tr>';
}
}
$out[$k] = '<table border="0" cellpadding="0" cellspacing="0" width="100%">'.implode('',$pout).'</table>';
typo3/template.php
function getHeader($table,$row,$path,$noViewPageIcon=0,$tWrap=array('','')) {
if (is_array($row) && $row['uid']) {
$iconImgTag=t3lib_iconWorks::getSpriteIconForRecord($table, $row , array('title' => htmlspecialchars($path)));
$title = strip_tags($row[$GLOBALS['TCA'][$table]['ctrl']['label']]);
$title = strip_tags(t3lib_BEfunc::getRecordTitle($table, $row));
$viewPage = $noViewPageIcon ? '' : $this->viewPageIcon($row['uid'],$this->backPath,'');
if ($table=='pages') $path.=' - '.t3lib_BEfunc::titleAttribForPages($row,'',0);
} else {
(2-2/2)