[TASK] Remove documentTemplate sections at SetupModuleController 07/44407/3
authorRuud Silvrants <ruudsilvrants@gmail.com>
Fri, 30 Oct 2015 14:30:29 +0000 (15:30 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 30 Oct 2015 18:11:46 +0000 (19:11 +0100)
Change-Id: I7d2b3f71664423a66e9fd7a1eade574d5a7570c5
Resolves: #71169
Releases: master
Reviewed-on: https://review.typo3.org/44407
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php

index 4be8f3e..76f3bd4 100644 (file)
@@ -454,11 +454,13 @@ class SetupModuleController extends AbstractModule
         $menuItems = $this->renderUserSetup();
         $this->content .= $this->moduleTemplate->getDynamicTabMenu($menuItems, 'user-setup', 1, false, false);
         $formToken = $this->formProtection->generateToken('BE user setup', 'edit');
-        $this->content .= $this->doc->section('', '<input type="hidden" name="simUser" value="' . $this->simUser . '" />
+        $this->content .= '<div>';
+        $this->content .= '<input type="hidden" name="simUser" value="' . $this->simUser . '" />
             <input type="hidden" name="formToken" value="' . $formToken . '" />
             <input type="hidden" value="1" name="data[save]" />
             <input type="hidden" name="data[setValuesToDefault]" value="0" id="setValuesToDefault" />
-            <input type="hidden" name="data[clearSessionVars]" value="0" id="clearSessionVars" />');
+            <input type="hidden" name="data[clearSessionVars]" value="0" id="clearSessionVars" />';
+        $this->content .= '</div>';
         // End of wrapper div
         $this->content .= '</div>';
         // Setting up the buttons and markers for docheader