Project

General

Profile

Bug #22037 » typo3.13386.patch

Administrator Admin, 2010-02-15 15:58

View differences:

typo3/class.db_list.inc 2010-02-15 15:44:15.000000000 +0100
// Hide tables which are configured via TSConfig not to be shown (also works for admins):
if (isset($this->tableTSconfigOverTCA[$tableName.'.']['hideTable']) ? $this->tableTSconfigOverTCA[$tableName.'.']['hideTable'] :
(t3lib_div::inList($this->hideTables, $tableName) ? true : $GLOBALS['TCA'][$tableName]['ctrl']['hideTable'])) {
(in_array($tableName, $this->hideTables) ? true : $GLOBALS['TCA'][$tableName]['ctrl']['hideTable'])) {
continue;
}
-- typo3/db_list.php 2009-10-22 14:15:26.000000000 +0200
++ typo3/db_list.php 2010-02-15 15:43:28.000000000 +0100
......
$dblist->showClipboard = 1;
$dblist->disableSingleTableView = $this->modTSconfig['properties']['disableSingleTableView'];
$dblist->listOnlyInSingleTableMode = $this->modTSconfig['properties']['listOnlyInSingleTableView'];
$dblist->hideTables = $this->modTSconfig['properties']['hideTables'];
$dblist->hideTables = t3lib_div::trimExplode(',', $this->modTSconfig['properties']['hideTables'], 1);
$dblist->tableTSconfigOverTCA = $this->modTSconfig['properties']['table.'];
$dblist->clickTitleMode = $this->modTSconfig['properties']['clickTitleMode'];
$dblist->alternateBgColors=$this->modTSconfig['properties']['alternateBgColors']?1:0;
(1-1/2)