Project

General

Profile

Feature #27471 » hideTables.diff

Stig Nørgaard Færch, 2011-06-15 11:29

View differences:

typo3/class.db_list.inc 2011-06-15 10:47:12.612325937 +0200
// Don't show table if hidden by TCA ctrl section
$hideTable = $GLOBALS['TCA'][$tableName]['ctrl']['hideTable'] ? TRUE : FALSE;
// Don't show table if hidden by pageTSconfig mod.web_list.hideTables
if (in_array($tableName, t3lib_div::trimExplode(',', $this->hideTables))) {
if (in_array($tableName, t3lib_div::trimExplode(',', $this->hideTables)) || in_array('*', t3lib_div::trimExplode(',', $this->hideTables))) {
$hideTable = TRUE;
}
// Override previous selection if table is enabled or hidden by TSconfig TCA override mod.web_list.table
    (1-1/1)