Bug #15224 ยป bug_1906_part1.patch
TYPO3core_testing/t3lib/class.t3lib_tsfebeuserauth.php 2005-12-19 20:16:42.000000000 +0100 | ||
---|---|---|
function extGetFeAdminValue($pre,$val='') {
|
||
if ($this->extAdmModuleEnabled($pre)) { // Check if module is enabled.
|
||
// Exceptions where the values can be overridden from backend:
|
||
// deprecated
|
||
if ($pre.'_'.$val == 'edit_displayIcons' && $this->extAdminConfig['module.']['edit.']['forceDisplayIcons']) {
|
||
return true;
|
||
}
|
||
... | ... | |
}
|
||
// override all settings with user TSconfig
|
||
if ($this->extAdminConfig['module.'][$pre.'.'][$val] && $val) {
|
||
return $this->extAdminConfig['module.'][$pre.'.'][$val];
|
||
if ($this->extAdminConfig['override.'][$pre.'.'][$val] && $val) {
|
||
return $this->extAdminConfig['override.'][$pre.'.'][$val];
|
||
}
|
||
if ($this->extAdminConfig['module.'][$pre]) {
|
||
return $this->extAdminConfig['module.'][$pre];
|
||
if ($this->extAdminConfig['override.'][$pre]) {
|
||
return $this->extAdminConfig['override.'][$pre];
|
||
}
|
||
$retVal = $val ? $this->uc['TSFE_adminConfig'][$pre.'_'.$val] : 1;
|