Fixed bug #12468: User setup: items without csh are not aligned
authorSteffen Kamper <info@sk-typo3.de>
Thu, 5 Nov 2009 23:52:05 +0000 (23:52 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 5 Nov 2009 23:52:05 +0000 (23:52 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6342 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/stylesheet.css
typo3/sysext/setup/mod/index.php

index c0c1d56..8e19523 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-06  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #12468: User setup: items without csh are not aligned
+
 2009-11-06  Oliver Hader  <oliver@typo3.org>
 
        * Raised DBAL version from 0.9.23 to 0.9.24
index 197a3d3..7d17366 100644 (file)
@@ -673,11 +673,18 @@ User settings
 table.typo3-usersettings td {
        width: 300px;
 }
-
+table.typo3-usersettings td.td-label label {
+       float: left;
+       margin-left: 3px;
+}
 table.typo3-usersettings a.typo3-csh-link {
-       display: block;
        float: left;
-       margin-right: 5px;
+}
+
+table.typo3-usersettings img.csh-dummy {
+       float: left;
+       vertical-align:middle;
+       margin-right: 4px;
 }
 
 table.typo3-usersettings td.td-label-right {
index f35a0db..998ae85 100755 (executable)
@@ -506,6 +506,9 @@ class SC_mod_user_setup_index {
 
                        $label = $this->getLabel($config['label'], $fieldName);
                        $csh = $this->getCSH($config['csh'] ? $config['csh'] : $fieldName);
+                       if (!$csh) {
+                               $csh = '<img class="csh-dummy" src="' . $this->doc->backPath . 'clear.gif" width="16" height="16" />';
+                       }
                        $type = $config['type'];
                        $eval = $config['eval'];
                        $class = $config['class'];