Bug #23831 » 16116_configuration_sort.diff
typo3/sysext/lowlevel/config/index.php (revision ) | ||
---|---|---|
switch($this->MOD_SETTINGS['function']) {
|
||
case 0:
|
||
$theVar = $GLOBALS['TYPO3_CONF_VARS'];
|
||
ksort($theVar);
|
||
foreach($theVar as $key => $value) {
|
||
ksort($theVar[$key]);
|
||
}
|
||
$arrayBrowser->varName = '$TYPO3_CONF_VARS';
|
||
break;
|
||
case 1:
|
||
foreach ($GLOBALS['TCA'] as $table => $config) {
|
||
foreach ($GLOBALS['TCA'] as $table => $config) {
|
||
t3lib_div::loadTCA($table);
|
||
}
|
||
$theVar = $GLOBALS['TCA'];
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$TCA';
|
||
break;
|
||
case 2:
|
||
$theVar = $GLOBALS['TCA_DESCR'];
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$TCA_DESCR';
|
||
break;
|
||
case 3:
|
||
$theVar = $GLOBALS['TYPO3_LOADED_EXT'];
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$TYPO3_LOADED_EXT';
|
||
break;
|
||
case 4:
|
||
$theVar = $GLOBALS['T3_SERVICES'];
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$T3_SERVICES';
|
||
break;
|
||
case 5:
|
||
$theVar = $GLOBALS['TBE_MODULES'];
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$TBE_MODULES';
|
||
break;
|
||
case 6:
|
||
$theVar = $GLOBALS['TBE_MODULES_EXT'];
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$TBE_MODULES_EXT';
|
||
break;
|
||
case 7:
|
||
$theVar = $GLOBALS['TBE_STYLES'];
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$TBE_STYLES';
|
||
break;
|
||
case 8:
|
||
$theVar = $GLOBALS['BE_USER']->uc;
|
||
ksort($theVar);
|
||
$arrayBrowser->varName = '$BE_USER->uc';
|
||
break;
|
||
case 9:
|
||
$theVar = $GLOBALS['TYPO3_USER_SETTINGS'];
|
||
ksort($theVar);
|
||
foreach($theVar as $key => $value) {
|
||
if (is_array($value)) {
|
||
ksort($theVar[$key]);
|
||
}
|
||
}
|
||
$arrayBrowser->varName = '$TYPO3_USER_SETTINGS';
|
||
break;
|
||
default:
|