Project

General

Profile

Bug #20319 ยป 10919.diff

Administrator Admin, 2009-04-17 12:21

View differences:

typo3/class.db_list_extra.inc (working copy)
}
if (isset($this->id)) {
// View
$buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->id, $this->backPath, t3lib_BEfunc::BEgetRootLine($this->id))) . '">' .
// View Exclude doktypes 254,255 Configuration: mod.web_list.noViewWithDokTypes = 254,255
if (isset($GLOBALS['SOBE']->modTSconfig['properties']['noViewWithDokTypes'])) {
$noViewDokTypes = t3lib_div::trimExplode(',', $GLOBALS['SOBE']->modTSconfig['properties']['noViewWithDokTypes'], true);
} else {
//default exclusion: doktype 254, 255
$noViewDokTypes = array('254', '255');
}
if (!in_array($this->pageRow['doktype'], $noViewDokTypes)) {
$buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->id, $this->backPath, t3lib_BEfunc::BEgetRootLine($this->id))) . '">' .
'<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/zoom.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '" alt="" />' .
'</a>';
}
// New record
if (!$GLOBALS['SOBE']->modTSconfig['properties']['noCreateRecordsLink']) {
$buttons['new_record'] = '<a href="#" onclick="' . htmlspecialchars('return jumpExt(\'' . $this->backPath . 'db_new.php?id=' . $this->id . '\');') . '">' .
    (1-1/1)