[TASK] EXT:cshmanual Uniform extension directory structure 83/41683/2
authorMichael Oehlhof <typo3@oehlhof.de>
Sat, 18 Jul 2015 16:06:47 +0000 (18:06 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 20 Jul 2015 12:26:14 +0000 (14:26 +0200)
Moved the code from the mod directory to the Modules/CshManual directory.

Resolves: #68348
Releases: master
Change-Id: Ia541173c7191a379a069fd3a2db0a7437435a5d2
Reviewed-on: http://review.typo3.org/41683
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/cshmanual/Modules/CshManual/index.php [new file with mode: 0644]
typo3/sysext/cshmanual/ext_tables.php
typo3/sysext/cshmanual/mod/index.php [deleted file]

diff --git a/typo3/sysext/cshmanual/Modules/CshManual/index.php b/typo3/sysext/cshmanual/Modules/CshManual/index.php
new file mode 100644 (file)
index 0000000..2a90f47
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+$GLOBALS['SOBE'] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Cshmanual\Controller\HelpModuleController::class);
+$GLOBALS['SOBE']->init();
+$GLOBALS['SOBE']->main();
+$GLOBALS['SOBE']->printContent();
\ No newline at end of file
index 2dc8658..0256cba 100644 (file)
@@ -6,14 +6,14 @@ if (TYPO3_MODE === 'BE') {
                'help',
                'cshmanual',
                'top',
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod/',
+               'EXT:cshmanual/Modules/CshManual/',
                array(
                        'script' => '_DISPATCH',
                        'access' => 'user,group',
                        'name' => 'help_cshmanual',
                        'labels' => array(
                                'tabs_images' => array(
-                                       'tab' => '../Resources/Public/Icons/module-cshmanual.svg',
+                                       'tab' => 'EXT:cshmanual/Resources/Public/Icons/module-cshmanual.svg',
                                ),
                                'll_ref' => 'LLL:EXT:lang/locallang_mod_help_cshmanual.xlf',
                        ),
diff --git a/typo3/sysext/cshmanual/mod/index.php b/typo3/sysext/cshmanual/mod/index.php
deleted file mode 100644 (file)
index 2a90f47..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-$GLOBALS['SOBE'] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Cshmanual\Controller\HelpModuleController::class);
-$GLOBALS['SOBE']->init();
-$GLOBALS['SOBE']->main();
-$GLOBALS['SOBE']->printContent();
\ No newline at end of file