Browse code

Fix labels

Benjamin Roth authored on08/02/2020 12:31:07
Showing2 changed files
... ...
@@ -81,7 +81,7 @@ class formilicious_tl_module extends \Backend
81 81
     $strName  = $arrField['name'];
82 82
 
83 83
     return sprintf(
84
-      '<input type="hidden" name="%s[%s][name]" id="ctrl_%s_row%s_name" value="%s"><div style="width:175px">%s' . ($GLOBALS['TL_DCA']['tl_member']['fields'][$strName]['eval']['mandatory'] ? '<span class="mandatory">*</span>' : '') . ' <span style="color:#b3b3b3; padding-left:3px;">[%s]</span></div>',
84
+      '<input type="hidden" name="%s[%s][name]" id="ctrl_%s_row%s_name" value="%s"><div style="width:150px">%s' . ($GLOBALS['TL_DCA']['tl_member']['fields'][$strName]['eval']['mandatory'] ? '<span class="mandatory">*</span>' : '') . ' <span style="color:#b3b3b3; padding-left:3px;">[%s]</span></div>',
85 85
       $objWidget->name,
86 86
       $i,
87 87
       $objWidget->name,
... ...
@@ -131,7 +131,7 @@ class formilicious_tl_module extends \Backend
131 131
         'label'     => &$GLOBALS['TL_LANG']['tl_module']['editable_cols']['feGroup'],
132 132
         'inputType' => 'select',
133 133
         'options'   => array('personal', 'address', 'contact', 'login'),
134
-        'eval'      => array('style' => 'width:80px', 'includeBlankOption' => true, 'blankOptionLabel' => &$GLOBALS['TL_LANG']['MSC']['default']),
134
+        'eval'      => array('style' => 'width:100px', 'includeBlankOption' => true, 'blankOptionLabel' => &$GLOBALS['TL_LANG']['MSC']['default']),
135 135
       ),
136 136
       'mandatory' => array
137 137
       (
... ...
@@ -139,7 +139,7 @@ class formilicious_tl_module extends \Backend
139 139
         'inputType' => 'select',
140 140
         'options'   => array('yes', 'no'),
141 141
         'reference' => &$GLOBALS['TL_LANG']['MSC'],
142
-        'eval'      => array('style' => 'width:80px', 'includeBlankOption' => true, 'blankOptionLabel' => &$GLOBALS['TL_LANG']['MSC']['default']),
142
+        'eval'      => array('style' => 'width:100px', 'includeBlankOption' => true, 'blankOptionLabel' => &$GLOBALS['TL_LANG']['MSC']['default']),
143 143
       ),
144 144
       'eSM_fl_class'  => array
145 145
       (
... ...
@@ -153,7 +153,7 @@ class formilicious_tl_module extends \Backend
153 153
         'inputType' => 'select',
154 154
         'default'   => 100,
155 155
         'options'   => array(10, 11, 15, '16_5', 20, 22, 25, 30, 33, 35, 40, 44, 45, 50, 55, 60, 65, 66, 70, 75, 80, 85, 90, 95, 100),
156
-        'eval'      => array('style' => 'width:80px'),
156
+        'eval'      => array('style' => 'width:50px'),
157 157
       ),
158 158
       'eSM_fl_clear'   => array
159 159
       (
... ...
@@ -18,7 +18,7 @@
18 18
 $GLOBALS['TL_LANG']['tl_module']['editable_cols'] = [
19 19
   'feGroup'      => ['Gruppe',''],
20 20
   'mandatory'    => ['Pflichtfeld',''],
21
-  'eSM_fl_class' => ['Feldbreite',''],
22
-  'eSM_fl_width' => ['Css-Klasse',''],
21
+  'eSM_fl_class' => ['Css-Klasse',''],
22
+  'eSM_fl_width' => ['Feldbreite',''],
23 23
   'eSM_fl_clear' => ['Neue Zeile',''],
24 24
 ];