[TASK] Remove documentTemplate sections at PageInformationController 98/44398/2
authorRuud Silvrants <ruudsilvrants@gmail.com>
Fri, 30 Oct 2015 13:16:44 +0000 (14:16 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 30 Oct 2015 16:20:37 +0000 (17:20 +0100)
Change-Id: I91004db660eead7217e74a575538847853ad01ed
Resolves: #71167
Releases: master
Reviewed-on: https://review.typo3.org/44398
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Controller/PageInformationController.php

index 8130fcb..d2f13b7 100644 (file)
@@ -71,16 +71,13 @@ class PageInformationController extends \TYPO3\CMS\Backend\Module\AbstractFuncti
         $dblist->start($this->pObj->id, 'pages', 0);
         $dblist->generateList();
         // CSH
-        $theOutput .= $this->pObj->doc->section(
-            '',
-            BackendUtility::cshItem($dblist->descrTable, 'pagetree_overview', null, '|<br />')
+        $theOutput .= '<div>';
+        $theOutput .= BackendUtility::cshItem($dblist->descrTable, 'pagetree_overview', null, '|<br />')
             . '<div class="form-inline form-inline-spaced">'
             . $h_func
             . '</div>'
-            . $dblist->HTMLcode,
-            0,
-            1
-        );
+            . $dblist->HTMLcode;
+        $theOutput .= '</div>';
         // Additional footer content
         $footerContentHook = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/web_info/class.tx_cms_webinfo.php']['drawFooterHook'];
         if (is_array($footerContentHook)) {