From: Felix Kopp Date: Sun, 5 Feb 2012 23:03:59 +0000 (+0100) Subject: [FEATURE] Move Element form visual cleanup X-Git-Tag: TYPO3_4-7-0beta1~88 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/ff7fd848f91459fb714a247c75b29d868fa55475 [FEATURE] Move Element form visual cleanup Remove redundant information, add and change spaces. Change-Id: Ifc29f3b62c8520bffae585d30aea5acddd423733 Resolves: #33692 Releases: 4.7 Reviewed-on: http://review.typo3.org/8852 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Tolleiv Nietsch Tested-by: Tolleiv Nietsch --- diff --git a/typo3/move_el.php b/typo3/move_el.php index 03a73aabf96d..5f2109a600b5 100644 --- a/typo3/move_el.php +++ b/typo3/move_el.php @@ -242,9 +242,8 @@ class SC_move_el { $this->doc->JScode=''; // Starting document content (header): - $this->content=''; - $this->content.=$this->doc->header($GLOBALS['LANG']->getLL('movingElement')); - $this->content.=$this->doc->spacer(5); + $this->content = ''; + $this->content .= $this->doc->header($GLOBALS['LANG']->getLL('movingElement')); } /** @@ -263,6 +262,7 @@ class SC_move_el { $hline.= t3lib_BEfunc::getRecordTitle($this->table,$elRow,TRUE); // Make-copy checkbox (clicking this will reload the page with the GET var makeCopy set differently): + $hline .= $this->doc->spacer(5); $onClick = 'window.location.href=\''.t3lib_div::linkThisScript(array('makeCopy'=>!$this->makeCopy)).'\';'; $hline .= $this->doc->spacer(5); $hline .= '' . @@ -272,7 +272,7 @@ class SC_move_el { $GLOBALS['LANG']->getLL('makeCopy', 1) . ''; // Add the header-content to the module content: - $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('moveElement') . ':', $hline, 0, 1); + $this->content.=$this->doc->section('', $hline, FALSE, TRUE); $this->content.=$this->doc->spacer(20); // Reset variable to pick up the module content in: @@ -372,7 +372,7 @@ class SC_move_el { } // Add the $code content as a new section to the module: - $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('selectPositionOfElement') . ':', $code, 0, 1); + $this->content .= $this->doc->section($GLOBALS['LANG']->getLL('selectPositionOfElement'), $code, FALSE, TRUE); } // Setting up the buttons and markers for docheader