diff --git a/typo3/sysext/backend/Classes/Controller/BackendController.php b/typo3/sysext/backend/Classes/Controller/BackendController.php index e9305acc3cb33cb07c6f74ebfe1f3c7ec265e79f..6b34259c90bc64b27d6434406751c30ff6195920 100644 --- a/typo3/sysext/backend/Classes/Controller/BackendController.php +++ b/typo3/sysext/backend/Classes/Controller/BackendController.php @@ -60,11 +60,6 @@ class BackendController */ protected $templatePath = 'EXT:backend/Resources/Private/Templates/'; - /** - * @var string - */ - protected $partialPath = 'EXT:backend/Resources/Private/Partials/'; - protected BackendModuleRepository $backendModuleRepository; protected PageRenderer $pageRenderer; protected IconFactory $iconFactory; @@ -203,7 +198,7 @@ class BackendController */ protected function renderTopbar() { - $view = $this->getFluidTemplateObject($this->partialPath . 'Backend/Topbar.html'); + $view = $this->getFluidTemplateObject($this->templatePath . 'Backend/Topbar.html'); // Extension Configuration to find the TYPO3 logo in the left corner $extConf = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('backend'); @@ -442,7 +437,7 @@ class BackendController */ protected function generateModuleMenu() { - $view = $this->getFluidTemplateObject($this->templatePath . 'ModuleMenu/Main.html'); + $view = $this->getFluidTemplateObject($this->templatePath . 'Backend/ModuleMenu.html'); $view->assign('modules', $this->moduleStorage); return $view->render(); } diff --git a/typo3/sysext/backend/Resources/Private/Templates/ModuleMenu/Main.html b/typo3/sysext/backend/Resources/Private/Templates/Backend/ModuleMenu.html similarity index 100% rename from typo3/sysext/backend/Resources/Private/Templates/ModuleMenu/Main.html rename to typo3/sysext/backend/Resources/Private/Templates/Backend/ModuleMenu.html diff --git a/typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html b/typo3/sysext/backend/Resources/Private/Templates/Backend/Topbar.html similarity index 100% rename from typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html rename to typo3/sysext/backend/Resources/Private/Templates/Backend/Topbar.html