Bug #21293 ยป patch-buttons_in_root.patch
typo3/class.db_list_extra.inc (working copy) | ||
---|---|---|
$noViewDokTypes = array('254', '255');
|
||
}
|
||
if (!in_array($this->pageRow['doktype'], $noViewDokTypes)) {
|
||
if ($this->id != 0 && !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>';
|
||
... | ... | |
}
|
||
// Cache
|
||
$buttons['cache'] = '<a href="' . htmlspecialchars($this->listURL() . '&clear_cache=1') . '">' .
|
||
'<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/clear_cache.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.clear_cache', 1) . '" alt="" />' .
|
||
'</a>';
|
||
if ($this->id != 0) {
|
||
$buttons['cache'] = '<a href="' . htmlspecialchars($this->listURL() . '&clear_cache=1') . '">' .
|
||
'<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/clear_cache.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.clear_cache', 1) . '" alt="" />' .
|
||
'</a>';
|
||
}
|
||
if ($this->table) {
|
||