[TASK] Remove DocumentTemplate section in Wizard controllers 29/44429/3
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 30 Oct 2015 18:56:38 +0000 (19:56 +0100)
committerJan Helke <typo3@helke.de>
Sat, 31 Oct 2015 13:06:54 +0000 (14:06 +0100)
Calls to section() are removed in SortPagesWizardModuleFunction and
CreatePagesWizardModuleFunctionController

Resolves: #71180
Resolves: #71178
Releases: master
Change-Id: I0adc20dd157c629ea7b2e55b9878fe9be8227816
Reviewed-on: https://review.typo3.org/44429
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/wizard_crpages/Classes/Controller/CreatePagesWizardModuleFunctionController.php
typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php

index 77a06c9..e31330d 100644 (file)
@@ -176,7 +176,7 @@ class CreatePagesWizardModuleFunctionController extends \TYPO3\CMS\Backend\Modul
         // CSH
         $theCode .= BackendUtility::cshItem('_MOD_web_func', 'tx_wizardcrpages', null, '<div class="t3-help">|</div>');
         $out = $this->pObj->doc->header($this->getLanguageService()->getLL('wiz_crMany'));
-        $out .= $this->pObj->doc->section('', $theCode, false, true);
+        $out .= '<div>' . $theCode . '</div>';
         return $out;
     }
 
index eb95f81..4593c91 100644 (file)
@@ -104,9 +104,9 @@ class SortPagesWizardModuleFunction extends \TYPO3\CMS\Backend\Module\AbstractFu
             }
             // CSH:
             $theCode .= BackendUtility::cshItem('_MOD_web_func', 'tx_wizardsortpages', null, '<br />|');
-            $out .= $this->pObj->doc->section('', $theCode, false, true);
+            $out .= '<div>' . $theCode . '</div>';
         } else {
-            $out .= $this->pObj->doc->section('', 'Sorry, this function is not available in the current draft workspace!', false, true, 1);
+            $out .= '<div>Sorry, this function is not available in the current draft workspace!</div>';
         }
         return $out;
     }