Bug #20194 » 10706.diff
typo3/alt_doc.php (working copy) | ||
---|---|---|
if (($key == 'saveDocNew' || $key == 'saveDocView') && $TSconfig['value'] != '0') {
|
||
$output = !(isset($TSconfig['properties'][$table]) && $TSconfig['properties'][$table] == '0');
|
||
}
|
||
// exclude view for sysfolders. Configuration: options.saveDocView.excludeDokTypes = 254,255,...
|
||
if ($key == 'saveDocView') {
|
||
if (isset($TSconfig['properties']['excludeDokTypes'])) {
|
||
$excludeDokTypes = t3lib_div::trimExplode(',', $TSconfig['properties']['excludeDokTypes'], true);
|
||
} else {
|
||
// exclude sysfolders and recycler by default
|
||
$excludeDokTypes = array('254', '255');
|
||
}
|
||
if (in_array($this->pageinfo['doktype'], $excludeDokTypes)) {
|
||
$output = false;
|
||
}
|
||
}
|
||
return $output;
|
||
}
|
||