From ff7fd848f91459fb714a247c75b29d868fa55475 Mon Sep 17 00:00:00 2001 From: Felix Kopp Date: Mon, 6 Feb 2012 00:03:59 +0100 Subject: [PATCH] [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 --- typo3/move_el.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.20.1