[TASK] Remove not needed line breaks in Page TSconfig module 33/34833/2
authorGeorg Ringer <georg.ringer@gmail.com>
Sun, 30 Nov 2014 21:17:17 +0000 (22:17 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 2 Dec 2014 23:42:37 +0000 (00:42 +0100)
The PageTsConfig module inside "Info" contains some line breaks
which are not needed. Those can be removed.

Resolves: #63469
Releases: master
Change-Id: Iac36f1996fec17144dd8a376771e93cb13f9063e
Reviewed-on: http://review.typo3.org/34833
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php

index 366a3af..36f6b99 100644 (file)
@@ -70,7 +70,6 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr
        public function main() {
                $menu = BackendUtility::getFuncMenu($this->pObj->id, 'SET[tsconf_parts]', $this->pObj->MOD_SETTINGS['tsconf_parts'], $this->pObj->MOD_MENU['tsconf_parts']);
                $menu .= '<div class="checkbox"><label for="checkTsconf_alphaSort">' . BackendUtility::getFuncCheck($this->pObj->id, 'SET[tsconf_alphaSort]', $this->pObj->MOD_SETTINGS['tsconf_alphaSort'], '', '', 'id="checkTsconf_alphaSort"') . $GLOBALS['LANG']->getLL('sort_alphabetic', TRUE) . '</label></div>';
-               $menu .= '<br /><br />';
                $theOutput = $this->pObj->doc->header($GLOBALS['LANG']->getLL('tsconf_title'));
 
                if ($this->pObj->MOD_SETTINGS['tsconf_parts'] == 99) {
@@ -109,9 +108,7 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr
                        } else {
                                $editIcon = '';
                        }
-                       $theOutput .= $this->pObj->doc->section('', BackendUtility::cshItem(('_MOD_' . $GLOBALS['MCONF']['name']), 'tsconfig_edit', NULL, '|<br />') . $menu . '
-                                       <br /><br />
-
+                       $theOutput .= $this->pObj->doc->section('', BackendUtility::cshItem(('_MOD_' . $GLOBALS['MCONF']['name']), 'tsconfig_edit', NULL) . $menu . '
                                        <!-- Edit fields: -->
                                        <table border="0" cellpadding="0" cellspacing="1">' . implode('', $lines) . '</table><br />' . $editIcon, 0, 1);
 
@@ -176,7 +173,7 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr
                                $modTSconfig = array();
                        }
 
-                       $csh = BackendUtility::cshItem('_MOD_' . $GLOBALS['MCONF']['name'], 'tsconfig_hierarchy', NULL, '|<br />');
+                       $csh = BackendUtility::cshItem('_MOD_' . $GLOBALS['MCONF']['name'], 'tsconfig_hierarchy', NULL);
                        $tree = $tmpl->ext_getObjTree($modTSconfig, '', '', '', '', $this->pObj->MOD_SETTINGS['tsconf_alphaSort']);
 
                        $theOutput .= $this->pObj->doc->section(