Bug #20087 » 10533.diff
typo3/db_list.php (working copy) | ||
---|---|---|
var $MOD_MENU=array(); // Menu configuration
|
||
var $MOD_SETTINGS=array(); // Module settings (session variable)
|
||
var $include_once=array(); // Array, where files to include is accumulated in the init() function
|
||
var $extendedView = 3; // Default setting for bigControlPanel is enabled + display switch
|
||
// Internal, dynamic:
|
||
var $content; // Module output accumulation
|
||
... | ... | |
// Clean up settings:
|
||
$this->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->MOD_MENU, t3lib_div::_GP('SET'), $this->MCONF['name']);
|
||
|
||
// overide default by TS
|
||
if(isset($this->modTSconfig['properties']['extendedView'])) {
|
||
$this->extendedView = intval($this->modTSconfig['properties']['extendedView']);
|
||
}
|
||
// initialize setting for bigControlPanel
|
||
if ($this->extendedView < 2) {
|
||
$this->MOD_SETTINGS['bigControlPanel'] = $this->extendedView == 0 ? 0 : 1;
|
||
} else {
|
||
if (!isset($this->MOD_SETTINGS['bigControlPanel'])) {
|
||
$this->MOD_SETTINGS['bigControlPanel'] = $this->extendedView == 2 ? 0 : 1;
|
||
}
|
||
}
|
||
|
||
}
|
||
/**
|
||
... | ... | |
-->
|
||
<div id="typo3-listOptions">
|
||
<form action="" method="post">';
|
||
$this->body.=t3lib_BEfunc::getFuncCheck($this->id,'SET[bigControlPanel]',$this->MOD_SETTINGS['bigControlPanel'],'db_list.php',($this->table?'&table='.$this->table:''),'id="checkLargeControl"').' <label for="checkLargeControl">'.$LANG->getLL('largeControl',1).'</label><br />';
|
||
|
||
if ($this->extendedView > 1) {
|
||
$this->body.=t3lib_BEfunc::getFuncCheck($this->id,'SET[bigControlPanel]',$this->MOD_SETTINGS['bigControlPanel'],'db_list.php',($this->table?'&table='.$this->table:''),'id="checkLargeControl"').' <label for="checkLargeControl">'.$LANG->getLL('largeControl',1).'</label><br />';
|
||
}
|
||
if ($dblist->showClipboard) {
|
||
$this->body.=t3lib_BEfunc::getFuncCheck($this->id,'SET[clipBoard]',$this->MOD_SETTINGS['clipBoard'],'db_list.php',($this->table?'&table='.$this->table:''),'id="checkShowClipBoard"').' <label for="checkShowClipBoard">'.$LANG->getLL('showClipBoard',1).'</label><br />';
|
||
}
|