[BUGFIX] Spelling of namespace \TYPO3\CMS\Tstemplate 15/27415/4
authorPeter Niederlag <peter.niederlag@typo3.org>
Fri, 7 Feb 2014 13:46:15 +0000 (14:46 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 8 Feb 2014 18:28:36 +0000 (19:28 +0100)
In some places a wrong namespace \TYPO3\CMS\TsTemplate was used.
\TYPO3\CMS\Tstemplate is the correct namespace for the tstemplate
sysext.

This fixes a problem in links between TSOB and Template Analyzer.

Resolves: #55764
Releases: 6.2
Change-Id: Iad84baa842b68f18468c1ff6b92c75c09710815e
Reviewed-on: https://review.typo3.org/27415
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateConstantEditorModuleFunctionController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php
typo3/sysext/tstemplate/ext_tables.php

index 6b957e8..5e7eea2 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\TsTemplate\Controller;
+namespace TYPO3\CMS\Tstemplate\Controller;
 
 /***************************************************************
  *  Copyright notice
index e507f53..ffb81b4 100644 (file)
@@ -258,7 +258,7 @@ class TypoScriptTemplateModuleController extends \TYPO3\CMS\Backend\Module\BaseS
                if ($this->id && $this->access) {
                        // View page
                        $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(BackendUtility::viewOnClick($this->pageinfo['uid'], $GLOBALS['BACK_PATH'], BackendUtility::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showPage', TRUE) . '">' . IconUtility::getSpriteIcon('actions-document-view') . '</a>';
-                       if ($this->extClassConf['name'] == 'TYPO3\CMS\TsTemplate\Controller\TypoScriptTemplateInformationModuleFunctionController') {
+                       if ($this->extClassConf['name'] == 'TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController') {
                                // NEW button
                                $buttons['new'] = '<input type="image" class="c-inputButton" name="createExtension" value="New"' . IconUtility::skinImg($GLOBALS['BACK_PATH'], 'gfx/new_el.gif', '') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:db_new.php.pagetitle', TRUE) . '" />';
                                if (!empty($this->e) && !GeneralUtility::_POST('abort') && !GeneralUtility::_POST('saveclose')) {
@@ -277,10 +277,10 @@ class TypoScriptTemplateModuleController extends \TYPO3\CMS\Backend\Module\BaseS
                                                'html' => '<input type="image" class="c-inputButton" name="abort" src="clear.gif" ' . 'title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE) . '" ' . 'value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE) . '" ' . '/>'
                                        ));
                                }
-                       } elseif ($this->extClassConf['name'] == 'TYPO3\CMS\TsTemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController' && count($this->MOD_MENU['constant_editor_cat'])) {
+                       } elseif ($this->extClassConf['name'] == 'TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController' && count($this->MOD_MENU['constant_editor_cat'])) {
                                // SAVE button
                                $buttons['save'] = IconUtility::getSpriteIcon('actions-document-save', array('html' => '<input type="image" class="c-inputButton" name="submit" src="clear.gif" ' . 'title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', TRUE) . '" ' . 'value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', TRUE) . '" ' . '/>'));
-                       } elseif ($this->extClassConf['name'] == 'TYPO3\CMS\TsTemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController') {
+                       } elseif ($this->extClassConf['name'] == 'TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController') {
                                if (!empty($this->sObj)) {
                                        // BACK
                                        $urlParameters = array(
index b60b91b..8f4b38c 100644 (file)
@@ -15,28 +15,28 @@ if (TYPO3_MODE === 'BE') {
 
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
-               'TYPO3\\CMS\\TsTemplate\\Controller\\TypoScriptTemplateConstantEditorModuleFunctionController',
+               'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateConstantEditorModuleFunctionController',
                $extensionPath . 'Classes/Controller/TypoScriptTemplateConstantEditorModuleFunctionController.php',
                'LLL:EXT:tstemplate/ts/locallang.xlf:constantEditor'
        );
 
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
-               'TYPO3\\CMS\\TsTemplate\\Controller\\TypoScriptTemplateInformationModuleFunctionController',
+               'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateInformationModuleFunctionController',
                $extensionPath . 'Classes/Controller/TypoScriptTemplateInformationModuleFunctionController.php',
                'LLL:EXT:tstemplate/ts/locallang.xlf:infoModify'
        );
 
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
-               'TYPO3\\CMS\\TsTemplate\\Controller\\TypoScriptTemplateObjectBrowserModuleFunctionController',
+               'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateObjectBrowserModuleFunctionController',
                $extensionPath  . 'Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php',
                'LLL:EXT:tstemplate/ts/locallang.xlf:objectBrowser'
        );
 
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
-               'TYPO3\\CMS\\TsTemplate\\Controller\\TemplateAnalyzerModuleFunctionController',
+               'TYPO3\\CMS\\Tstemplate\\Controller\\TemplateAnalyzerModuleFunctionController',
                $extensionPath . 'Classes/Controller/TemplateAnalyzerModuleFunctionController.php',
                'LLL:EXT:tstemplate/ts/locallang.xlf:templateAnalyzer'
        );