Project

General

Profile

Bug #23455 » 15563-error-export.patch

Administrator Admin, 2010-08-26 16:24

View differences:

typo3/sysext/impexp/app/index.php (working copy)
$rParts = explode(':', $ref);
$tName = $rParts[0];
if ($GLOBALS['BE_USER']->check('tables_select',$tName)) {
$rec = t3lib_BEfunc::getRecordWSOL('pages', $rParts[1]);
$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/>';
if ($GLOBALS['BE_USER']->check('tables_select', $tName)) {
// root page
if ($rParts[1] == 0) {
$pageIcon = t3lib_iconWorks::getSpriteIcon('apps-pagetree-root');
$pageTitle = htmlspecialchars($GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']);
} else {
$rec = t3lib_BEfunc::getRecordWSOL('pages', $rParts[1]);
$pageIcon = t3lib_iconworks::getSpriteIconForRecord('pages', $rec);
$pageTitle = t3lib_BEfunc::getRecordTitle('pages', $rec, TRUE);
}
$tblList .= 'Table "' . $tName . '" from ' . $pageIcon . $pageTitle . '<input type="hidden" name="tx_impexp[list][]" value="' . htmlspecialchars($ref) . '" /><br/>';
}
}
$row[] = '
(1-1/2)