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
$this->doc->JScode='';
// Starting document content (header):
$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'));
$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.= 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 .= '<input type="hidden" name="makeCopy" value="0" />' .
$onClick = 'window.location.href=\''.t3lib_div::linkThisScript(array('makeCopy'=>!$this->makeCopy)).'\';';
$hline .= $this->doc->spacer(5);
$hline .= '<input type="hidden" name="makeCopy" value="0" />' .
$GLOBALS['LANG']->getLL('makeCopy', 1) . '</label>';
// Add the header-content to the module content:
$GLOBALS['LANG']->getLL('makeCopy', 1) . '</label>';
// 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:
$this->content.=$this->doc->spacer(20);
// Reset variable to pick up the module content in:
}
// Add the $code content as a new section to the module:
}
// 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
}
// Setting up the buttons and markers for docheader