[BUGFIX] Layout of "Move Element" screen
authorTomas Norre Mikkelsen <tomasnorre@gmail.com>
Sat, 17 Sep 2011 17:20:03 +0000 (19:20 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Mon, 17 Oct 2011 17:25:09 +0000 (19:25 +0200)
Added more space between page icon/title and checkbox
"Make copy instead of moving element".

Change-Id: I5467d98adfebeee7b022dab829da175bf52f3254
Fixes: #27605
Releases: 4.6
Reviewed-on: http://review.typo3.org/5008
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/move_el.php
typo3/sysext/t3skin/stylesheets/structure/element_move_element.css

index aae65f7..03a73aa 100644 (file)
@@ -264,7 +264,11 @@ class SC_move_el {
 
                                // Make-copy checkbox (clicking this will reload the page with the GET var makeCopy set differently):
                        $onClick = 'window.location.href=\''.t3lib_div::linkThisScript(array('makeCopy'=>!$this->makeCopy)).'\';';
-                       $hline.= '<br /><input type="hidden" name="makeCopy" value="0" /><input type="checkbox" name="makeCopy" id="makeCopy" value="1"'.($this->makeCopy?' checked="checked"':'').' onclick="'.htmlspecialchars($onClick).'" /> <label for="makeCopy">'.
+                       $hline .= $this->doc->spacer(5);
+                       $hline .= '<input type="hidden" name="makeCopy" value="0" />' .
+                               '<input type="checkbox" name="makeCopy" id="makeCopy" value="1"' .
+                               ($this->makeCopy ? ' checked="checked"' : '') .
+                               ' onclick="' . htmlspecialchars($onClick) . '" /> <label for="makeCopy" class="t3-label-valign-top">' .
                                $GLOBALS['LANG']->getLL('makeCopy', 1) . '</label>';
 
                                // Add the header-content to the module content:
index 23f11b1..5c5173d 100644 (file)
@@ -13,4 +13,8 @@ body#typo3-move-el-php img {
 body#typo3-move-el-php table#typo3-ttContentList img,
 body#typo3-move-el-php img#c-recIcon {
        margin-right: 4px;
+}
+
+body#typo3-move-el-php label.t3-label-valign-top {
+       vertical-align: top;
 }
\ No newline at end of file