[TASK] Remove directory typo3/mod/ 04/38004/6
authorBenjamin Mack <benni@typo3.org>
Sun, 22 Mar 2015 17:19:12 +0000 (18:19 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 22 Mar 2015 20:05:57 +0000 (21:05 +0100)
All main modules from the Backend are now
registered directly in the initialization and not
in separate files in order to avoid inclusion of
small PHP files. The mod/ directory can safely
be removed now.

Resolves: #65900
Releases: master
Change-Id: I175a8c8899fe1df4f891abd9fc6221419a9a7e93
Reviewed-on: http://review.typo3.org/38004
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/mod/file/conf.php [deleted file]
typo3/mod/help/conf.php [deleted file]
typo3/mod/system/conf.php [deleted file]
typo3/mod/tools/conf.php [deleted file]
typo3/mod/user/conf.php [deleted file]
typo3/mod/web/conf.php [deleted file]
typo3/sysext/core/ext_tables.php

diff --git a/typo3/mod/file/conf.php b/typo3/mod/file/conf.php
deleted file mode 100644 (file)
index 180a35f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-$MLANG['default']['tabs_images']['tab'] = 'file.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_file.xlf';
-$MCONF['access'] = 'group,user';
-$MCONF['name'] = 'file';
-$MCONF['workspaces'] = 'online,custom';
diff --git a/typo3/mod/help/conf.php b/typo3/mod/help/conf.php
deleted file mode 100644 (file)
index f31d0e9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_help.xlf';
-$MCONF['name'] = 'help';
diff --git a/typo3/mod/system/conf.php b/typo3/mod/system/conf.php
deleted file mode 100644 (file)
index abbe3d4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_system.xlf';
-$MCONF['name'] = 'system';
-$MCONF['access'] = 'admin';
diff --git a/typo3/mod/tools/conf.php b/typo3/mod/tools/conf.php
deleted file mode 100644 (file)
index 76e11dd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$MLANG['default']['tabs_images']['tab'] = 'tool.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_admintools.xlf';
-$MCONF['name'] = 'tools';
-$MCONF['access'] = 'admin';
diff --git a/typo3/mod/user/conf.php b/typo3/mod/user/conf.php
deleted file mode 100644 (file)
index b4e2607..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$MLANG['default']['tabs_images']['tab'] = 'user.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_usertools.xlf';
-$MCONF['name'] = 'user';
-$MCONF['access'] = 'user,group';
diff --git a/typo3/mod/web/conf.php b/typo3/mod/web/conf.php
deleted file mode 100644 (file)
index 33ec9fb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$MLANG['default']['tabs_images']['tab'] = 'website.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_web.xlf';
-$MCONF['name'] = 'web';
-$MCONF['access'] = 'user,group';
\ No newline at end of file
index aa9806b..595c40d 100644 (file)
@@ -61,7 +61,67 @@ $GLOBALS['TBE_MODULES'] = array(
        'user' => '',
        'tools' => '',
        'system' => '',
-       'help' => ''
+       'help' => '',
+       '_configuration' => array(
+               'web' => array(
+                       'labels' => array(
+                               'tabs_images' => array('tab' => 'website.gif'),
+                               'll_ref' => 'LLL:EXT:lang/locallang_mod_web.xlf'
+                       ),
+                       'configuration' => array(
+                               'name' => 'web',
+                               'access' => 'user,group'
+                       )
+               ),
+               'file' => array(
+                       'labels' => array(
+                               'tabs_images' => array('tab' => 'file.gif'),
+                               'll_ref' => 'LLL:EXT:lang/locallang_mod_file.xlf'
+                       ),
+                       'configuration' => array(
+                               'name' => 'file',
+                               'access' => 'user,group',
+                               'workspaces' => 'online,custom'
+                       )
+               ),
+               'user' => array(
+                       'labels' => array(
+                               'tabs_images' => array('tab' => 'user.gif'),
+                               'll_ref' => 'LLL:EXT:lang/locallang_mod_usertools.xlf'
+                       ),
+                       'configuration' => array(
+                               'name' => 'user',
+                               'access' => 'user,group'
+                       )
+               ),
+               'tools' => array(
+                       'labels' => array(
+                               'tabs_images' => array('tab' => 'tool.gif'),
+                               'll_ref' => 'LLL:EXT:lang/locallang_mod_admintools.xlf'
+                       ),
+                       'configuration' => array(
+                               'name' => 'tools',
+                               'access' => 'admin'
+                       )
+               ),
+               'system' => array(
+                       'labels' => array(
+                               'll_ref' => 'LLL:EXT:lang/locallang_mod_system.xlf'
+                       ),
+                       'configuration' => array(
+                               'name' => 'system',
+                               'access' => 'admin'
+                       )
+               ),
+               'help' => array(
+                       'labels' => array(
+                               'll_ref' => 'LLL:EXT:lang/locallang_mod_help.xlf'
+                       ),
+                       'configuration' => array(
+                               'name' => 'help'
+                       )
+               )
+       )
 );
 
 
@@ -583,4 +643,4 @@ if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
        }
        \TYPO3\CMS\Backend\Sprite\SpriteManager::addIconSprite($flagIcons);
        unset($flagNames, $flagName, $flagIcons);
-}
\ No newline at end of file
+}