Project

General

Profile

Bug #23599 » bug_15794_v2.diff

Administrator Admin, 2010-09-24 15:13

View differences:

workingcopy/t3lib/stddb/tables.php 2010-09-24 15:12:16.000000000 +0200
* Every entry in this array represents a menu item on either first (key) or second level (value from list) in the left menu in the TYPO3 backend
* For information about adding modules to TYPO3 you should consult the documentation found in "Inside TYPO3"
*/
$TBE_MODULES = array(
'web' => 'list,info,perm,func',
'file' => 'list',
'user' => 'ws',
'tools' => 'em',
'help' => 'about,cshmanual'
);
$TBE_MODULES['web'] = 'list';
if(t3lib_extMgm::isLoaded('info')) {
$TBE_MODULES['web'] = (strcmp('',$TBE_MODULES['web']) ? $TBE_MODULES['web'].',' : '') . trim('info');
}
if(t3lib_extMgm::isLoaded('perm')) {
$TBE_MODULES['web'] = (strcmp('',$TBE_MODULES['web']) ? $TBE_MODULES['web'].',' : '') . trim('perm');
}
if(t3lib_extMgm::isLoaded('func')) {
$TBE_MODULES['web'] = (strcmp('',$TBE_MODULES['web']) ? $TBE_MODULES['web'].',' : '') . trim('func');
}
$TBE_MODULES['file'] = '';
if(t3lib_extMgm::isLoaded('filelist')) {
$TBE_MODULES['file'] = (strcmp('',$TBE_MODULES['file']) ? $TBE_MODULES['file'].',' : '') . trim('list');
}
if(empty($TBE_MODULES['file'])) {
unset($TBE_MODULES['file']);
}
$TBE_MODULES['user'] = '';
if(t3lib_extMgm::isLoaded('version')) {
$TBE_MODULES['user'] = (strcmp('',$TBE_MODULES['user']) ? $TBE_MODULES['user'].',' : '') . trim('ws');
}
if(empty($TBE_MODULES['user'])) {
unset($TBE_MODULES['user']);
}
$TBE_MODULES['tools'] = 'em';
$TBE_MODULES['help'] = '';
if(t3lib_extMgm::isLoaded('about')) {
$TBE_MODULES['help'] = (strcmp('',$TBE_MODULES['help']) ? $TBE_MODULES['help'].',' : '') . trim('about');
}
if(t3lib_extMgm::isLoaded('cshmanual')) {
$TBE_MODULES['help'] = (strcmp('',$TBE_MODULES['help']) ? $TBE_MODULES['help'].',' : '') . trim('cshmanual');
}
if(empty($TBE_MODULES['help'])) {
unset($TBE_MODULES['help']);
}
/**
(2-2/3)