Project

General

Profile

Feature #15721 ยป tableHide_modWebList.diff

Administrator Admin, 2006-02-24 19:15

View differences:

TYPO3core.listhide/typo3/class.db_list.inc 2006-02-24 19:12:17.263736696 +0100
var $clickTitleMode = ''; // Mode for what happens when a user clicks the title of a record.
var $modSharedTSconfig = array(); // Shared module configuration, used by localization features
var $pageRecord = array(); // Loaded with page record with version overlay if any.
var $hideTables = ''; // Tables which should not get listed
// Internal, dynamic:
var $JScode = ''; // JavaScript code accumulation
......
// Load full table definitions:
t3lib_div::loadTCA($tableName);
// Hide tables which are configured either via TCA or TSConfig to be not shown:
if ($TCA[$tableName]['ctrl']['hideTable'] || t3lib_div::inList($this->hideTables, $tableName)) continue;
// iLimit is set depending on whether we're in single- or multi-table mode
if ($this->table) {
$this->iLimit=(isset($TCA[$tableName]['interface']['maxSingleDBListItems'])?intval($TCA[$tableName]['interface']['maxSingleDBListItems']):$this->itemsLimitSingleTable);
TYPO3core.listhide/typo3/db_list.php 2006-02-24 19:10:38.540744872 +0100
$dblist->showClipboard = 1;
$dblist->disableSingleTableView = $this->modTSconfig['properties']['disableSingleTableView'];
$dblist->listOnlyInSingleTableMode = $this->modTSconfig['properties']['listOnlyInSingleTableView'];
$dblist->hideTables = $this->modTSconfig['properties']['hideTables'];
$dblist->clickTitleMode = $this->modTSconfig['properties']['clickTitleMode'];
$dblist->alternateBgColors=$this->modTSconfig['properties']['alternateBgColors']?1:0;
$dblist->allowedNewTables = t3lib_div::trimExplode(',',$this->modTSconfig['properties']['allowedNewTables'],1);
    (1-1/1)