Completed
Push — master ( 8abf1a...7a46aa )
by
unknown
27:02 queued 11:23
created
typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 1 patch
Spacing   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -94,14 +94,14 @@  discard block
 block discarded – undo
94 94
             }
95 95
             $html = [];
96 96
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
97
-            $html[] =   $fieldInformationHtml;
98
-            $html[] =   '<div class="form-wizards-wrap">';
99
-            $html[] =       '<div class="form-wizards-element">';
100
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
101
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
102
-            $html[] =           '</div>';
103
-            $html[] =       '</div>';
104
-            $html[] =   '</div>';
97
+            $html[] = $fieldInformationHtml;
98
+            $html[] = '<div class="form-wizards-wrap">';
99
+            $html[] = '<div class="form-wizards-element">';
100
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
101
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
102
+            $html[] = '</div>';
103
+            $html[] = '</div>';
104
+            $html[] = '</div>';
105 105
             $html[] = '</div>';
106 106
             $resultArray['html'] = implode(LF, $html);
107 107
             return $resultArray;
@@ -175,8 +175,8 @@  discard block
 block discarded – undo
175 175
                     . '.value=this.options[this.selectedIndex].value';
176 176
             }
177 177
             $valuePickerHtml[] = '<select';
178
-            $valuePickerHtml[] =  ' class="form-control tceforms-select tceforms-wizardselect"';
179
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
178
+            $valuePickerHtml[] = ' class="form-control tceforms-select tceforms-wizardselect"';
179
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
180 180
             $valuePickerHtml[] = '>';
181 181
             $valuePickerHtml[] = '<option></option>';
182 182
             foreach ($config['valuePicker']['items'] as $item) {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
                 $valueType = 'double';
204 204
                 $itemValue = (double)$itemValue;
205 205
             }
206
-            $callbackParams = [ $table, $row['uid'], $fieldName, $parameterArray['itemFormElName'] ];
206
+            $callbackParams = [$table, $row['uid'], $fieldName, $parameterArray['itemFormElName']];
207 207
             $rangeAttributes = [
208 208
                 'id' => $id,
209 209
                 'type' => 'range',
@@ -248,26 +248,26 @@  discard block
 block discarded – undo
248 248
 
249 249
         $mainFieldHtml = [];
250 250
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
251
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
252
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
253
-        $mainFieldHtml[] =          '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
254
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
255
-        $mainFieldHtml[] =      '</div>';
251
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
252
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
253
+        $mainFieldHtml[] = '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
254
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
255
+        $mainFieldHtml[] = '</div>';
256 256
         if (!empty($valuePickerHtml) || !empty($valueSliderHtml) || !empty($fieldControlHtml)) {
257
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
258
-            $mainFieldHtml[] =          '<div class="btn-group">';
259
-            $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
260
-            $mainFieldHtml[] =              implode(LF, $valueSliderHtml);
261
-            $mainFieldHtml[] =              $fieldControlHtml;
262
-            $mainFieldHtml[] =          '</div>';
263
-            $mainFieldHtml[] =      '</div>';
257
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
258
+            $mainFieldHtml[] = '<div class="btn-group">';
259
+            $mainFieldHtml[] = implode(LF, $valuePickerHtml);
260
+            $mainFieldHtml[] = implode(LF, $valueSliderHtml);
261
+            $mainFieldHtml[] = $fieldControlHtml;
262
+            $mainFieldHtml[] = '</div>';
263
+            $mainFieldHtml[] = '</div>';
264 264
         }
265 265
         if (!empty($fieldWizardHtml)) {
266 266
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
267 267
             $mainFieldHtml[] = $fieldWizardHtml;
268 268
             $mainFieldHtml[] = '</div>';
269 269
         }
270
-        $mainFieldHtml[] =  '</div>';
270
+        $mainFieldHtml[] = '</div>';
271 271
         $mainFieldHtml[] = '</div>';
272 272
         $mainFieldHtml = implode(LF, $mainFieldHtml);
273 273
 
@@ -277,11 +277,11 @@  discard block
 block discarded – undo
277 277
             $fullElement = [];
278 278
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
279 279
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
280
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
281
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
282
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
283
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
284
-            $fullElement[] =     '</label>';
280
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
281
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
282
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
283
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
284
+            $fullElement[] = '</label>';
285 285
             $fullElement[] = '</div>';
286 286
             $fullElement[] = $mainFieldHtml;
287 287
             $fullElement = implode(LF, $fullElement);
@@ -310,19 +310,19 @@  discard block
 block discarded – undo
310 310
             }
311 311
             $fullElement = [];
312 312
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
313
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
314
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
315
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
316
-            $fullElement[] =         $overrideLabel;
317
-            $fullElement[] =     '</label>';
313
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
314
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
315
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
316
+            $fullElement[] = $overrideLabel;
317
+            $fullElement[] = '</label>';
318 318
             $fullElement[] = '</div>';
319 319
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
320
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
321
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
322
-            $fullElement[] =    '</div>';
320
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
321
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
322
+            $fullElement[] = '</div>';
323 323
             $fullElement[] = '</div>';
324 324
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
325
-            $fullElement[] =    $mainFieldHtml;
325
+            $fullElement[] = $mainFieldHtml;
326 326
             $fullElement[] = '</div>';
327 327
             $fullElement = implode(LF, $fullElement);
328 328
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputColorPickerElement.php 1 patch
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -88,14 +88,14 @@  discard block
 block discarded – undo
88 88
         if ($config['readOnly']) {
89 89
             $html = [];
90 90
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
91
-            $html[] =   $fieldInformationHtml;
92
-            $html[] =   '<div class="form-wizards-wrap">';
93
-            $html[] =       '<div class="form-wizards-element">';
94
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
95
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
96
-            $html[] =           '</div>';
97
-            $html[] =       '</div>';
98
-            $html[] =   '</div>';
91
+            $html[] = $fieldInformationHtml;
92
+            $html[] = '<div class="form-wizards-wrap">';
93
+            $html[] = '<div class="form-wizards-element">';
94
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
95
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
96
+            $html[] = '</div>';
97
+            $html[] = '</div>';
98
+            $html[] = '</div>';
99 99
             $html[] = '</div>';
100 100
             $resultArray['html'] = implode(LF, $html);
101 101
             return $resultArray;
@@ -177,23 +177,23 @@  discard block
 block discarded – undo
177 177
 
178 178
         $mainFieldHtml = [];
179 179
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
180
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
181
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
182
-        $mainFieldHtml[] =          '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
183
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
184
-        $mainFieldHtml[] =      '</div>';
185
-        $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
186
-        $mainFieldHtml[] =          '<div class="btn-group">';
187
-        $mainFieldHtml[] =              $fieldControlHtml;
188
-        $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
189
-        $mainFieldHtml[] =          '</div>';
190
-        $mainFieldHtml[] =      '</div>';
180
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
181
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
182
+        $mainFieldHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
183
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
184
+        $mainFieldHtml[] = '</div>';
185
+        $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
186
+        $mainFieldHtml[] = '<div class="btn-group">';
187
+        $mainFieldHtml[] = $fieldControlHtml;
188
+        $mainFieldHtml[] = implode(LF, $valuePickerHtml);
189
+        $mainFieldHtml[] = '</div>';
190
+        $mainFieldHtml[] = '</div>';
191 191
         if (!empty($fieldWizardHtml)) {
192 192
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
193 193
             $mainFieldHtml[] = $fieldWizardHtml;
194 194
             $mainFieldHtml[] = '</div>';
195 195
         }
196
-        $mainFieldHtml[] =  '</div>';
196
+        $mainFieldHtml[] = '</div>';
197 197
         $mainFieldHtml[] = '</div>';
198 198
         $mainFieldHtml = implode(LF, $mainFieldHtml);
199 199
 
@@ -203,11 +203,11 @@  discard block
 block discarded – undo
203 203
             $fullElement = [];
204 204
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
205 205
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
206
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
207
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
208
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
209
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
210
-            $fullElement[] =     '</label>';
206
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
207
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
208
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
209
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
210
+            $fullElement[] = '</label>';
211 211
             $fullElement[] = '</div>';
212 212
             $fullElement[] = $mainFieldHtml;
213 213
             $fullElement = implode(LF, $fullElement);
@@ -236,19 +236,19 @@  discard block
 block discarded – undo
236 236
             }
237 237
             $fullElement = [];
238 238
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
239
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
240
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
241
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
242
-            $fullElement[] =         $overrideLabel;
243
-            $fullElement[] =     '</label>';
239
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
240
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
241
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
242
+            $fullElement[] = $overrideLabel;
243
+            $fullElement[] = '</label>';
244 244
             $fullElement[] = '</div>';
245 245
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
246
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
247
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
248
-            $fullElement[] =    '</div>';
246
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
247
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
248
+            $fullElement[] = '</div>';
249 249
             $fullElement[] = '</div>';
250 250
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
251
-            $fullElement[] =    $mainFieldHtml;
251
+            $fullElement[] = $mainFieldHtml;
252 252
             $fullElement[] = '</div>';
253 253
             $fullElement = implode(LF, $fullElement);
254 254
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php 1 patch
Spacing   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -112,14 +112,14 @@  discard block
 block discarded – undo
112 112
             // Early return for read only fields
113 113
             $html = [];
114 114
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
115
-            $html[] =   $fieldInformationHtml;
116
-            $html[] =   '<div class="form-wizards-wrap">';
117
-            $html[] =       '<div class="form-wizards-element">';
118
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
119
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
120
-            $html[] =           '</div>';
121
-            $html[] =       '</div>';
122
-            $html[] =   '</div>';
115
+            $html[] = $fieldInformationHtml;
116
+            $html[] = '<div class="form-wizards-wrap">';
117
+            $html[] = '<div class="form-wizards-element">';
118
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
119
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
120
+            $html[] = '</div>';
121
+            $html[] = '</div>';
122
+            $html[] = '</div>';
123 123
             $html[] = '</div>';
124 124
             $resultArray['html'] = implode(LF, $html);
125 125
             return $resultArray;
@@ -194,8 +194,8 @@  discard block
 block discarded – undo
194 194
                     . '.value=this.options[this.selectedIndex].value';
195 195
             }
196 196
             $valuePickerHtml[] = '<select';
197
-            $valuePickerHtml[] =  ' class="form-control tceforms-select tceforms-wizardselect"';
198
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
197
+            $valuePickerHtml[] = ' class="form-control tceforms-select tceforms-wizardselect"';
198
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
199 199
             $valuePickerHtml[] = '>';
200 200
             $valuePickerHtml[] = '<option></option>';
201 201
             foreach ($config['valuePicker']['items'] as $item) {
@@ -218,33 +218,33 @@  discard block
 block discarded – undo
218 218
 
219 219
         $expansionHtml = [];
220 220
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
221
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
222
-        $expansionHtml[] =      '<div class="form-wizards-element">';
223
-        $expansionHtml[] =          '<div class="input-group t3js-form-field-inputlink">';
224
-        $expansionHtml[] =              '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
225
-        $expansionHtml[] =              '<input class="form-control form-field-inputlink-explanation t3js-form-field-inputlink-explanation" data-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
226
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
227
-        $expansionHtml[] =              '<span class="input-group-btn">';
228
-        $expansionHtml[] =                  '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
229
-        $expansionHtml[] =                      $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
230
-        $expansionHtml[] =                  '</button>';
231
-        $expansionHtml[] =              '</span>';
232
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
233
-        $expansionHtml[] =          '</div>';
234
-        $expansionHtml[] =      '</div>';
221
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
222
+        $expansionHtml[] = '<div class="form-wizards-element">';
223
+        $expansionHtml[] = '<div class="input-group t3js-form-field-inputlink">';
224
+        $expansionHtml[] = '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
225
+        $expansionHtml[] = '<input class="form-control form-field-inputlink-explanation t3js-form-field-inputlink-explanation" data-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
226
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
227
+        $expansionHtml[] = '<span class="input-group-btn">';
228
+        $expansionHtml[] = '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
229
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
230
+        $expansionHtml[] = '</button>';
231
+        $expansionHtml[] = '</span>';
232
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
233
+        $expansionHtml[] = '</div>';
234
+        $expansionHtml[] = '</div>';
235 235
         if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
236
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
237
-            $expansionHtml[] =          '<div class="btn-group">';
238
-            $expansionHtml[] =              implode(LF, $valuePickerHtml);
239
-            $expansionHtml[] =              $fieldControlHtml;
240
-            $expansionHtml[] =          '</div>';
241
-            $expansionHtml[] =      '</div>';
236
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
237
+            $expansionHtml[] = '<div class="btn-group">';
238
+            $expansionHtml[] = implode(LF, $valuePickerHtml);
239
+            $expansionHtml[] = $fieldControlHtml;
240
+            $expansionHtml[] = '</div>';
241
+            $expansionHtml[] = '</div>';
242 242
         }
243
-        $expansionHtml[] =      '<div class="form-wizards-items-bottom">';
244
-        $expansionHtml[] =          $linkExplanation['additionalAttributes'];
245
-        $expansionHtml[] =          $fieldWizardHtml;
246
-        $expansionHtml[] =      '</div>';
247
-        $expansionHtml[] =  '</div>';
243
+        $expansionHtml[] = '<div class="form-wizards-items-bottom">';
244
+        $expansionHtml[] = $linkExplanation['additionalAttributes'];
245
+        $expansionHtml[] = $fieldWizardHtml;
246
+        $expansionHtml[] = '</div>';
247
+        $expansionHtml[] = '</div>';
248 248
         $expansionHtml[] = '</div>';
249 249
         $expansionHtml = implode(LF, $expansionHtml);
250 250
 
@@ -254,11 +254,11 @@  discard block
 block discarded – undo
254 254
             $fullElement = [];
255 255
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
256 256
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
257
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
258
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
259
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
260
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
261
-            $fullElement[] =     '</label>';
257
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
258
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
259
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
260
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
261
+            $fullElement[] = '</label>';
262 262
             $fullElement[] = '</div>';
263 263
             $fullElement[] = $expansionHtml;
264 264
             $fullElement = implode(LF, $fullElement);
@@ -287,19 +287,19 @@  discard block
 block discarded – undo
287 287
             }
288 288
             $fullElement = [];
289 289
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
290
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
291
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
292
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
293
-            $fullElement[] =         $overrideLabel;
294
-            $fullElement[] =     '</label>';
290
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
291
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
292
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
293
+            $fullElement[] = $overrideLabel;
294
+            $fullElement[] = '</label>';
295 295
             $fullElement[] = '</div>';
296 296
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
297
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
298
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
299
-            $fullElement[] =    '</div>';
297
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
298
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
299
+            $fullElement[] = '</div>';
300 300
             $fullElement[] = '</div>';
301 301
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
302
-            $fullElement[] =    $expansionHtml;
302
+            $fullElement[] = $expansionHtml;
303 303
             $fullElement[] = '</div>';
304 304
             $fullElement = implode(LF, $fullElement);
305 305
         }
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 
330 330
         try {
331 331
             $linkData = $linkService->resolve($linkParts['url']);
332
-        } catch (FileDoesNotExistException|FolderDoesNotExistException|UnknownLinkHandlerException|InvalidPathException $e) {
332
+        } catch (FileDoesNotExistException | FolderDoesNotExistException | UnknownLinkHandlerException | InvalidPathException $e) {
333 333
             return $data;
334 334
         }
335 335
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputDateTimeElement.php 1 patch
Spacing   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -116,14 +116,14 @@  discard block
 block discarded – undo
116 116
             $itemValue = $this->formatValue($format, $itemValue);
117 117
             $html = [];
118 118
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
119
-            $html[] =   $fieldInformationHtml;
120
-            $html[] =   '<div class="form-wizards-wrap">';
121
-            $html[] =       '<div class="form-wizards-element">';
122
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
123
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
124
-            $html[] =           '</div>';
125
-            $html[] =       '</div>';
126
-            $html[] =   '</div>';
119
+            $html[] = $fieldInformationHtml;
120
+            $html[] = '<div class="form-wizards-wrap">';
121
+            $html[] = '<div class="form-wizards-element">';
122
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
123
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
124
+            $html[] = '</div>';
125
+            $html[] = '</div>';
126
+            $html[] = '</div>';
127 127
             $html[] = '</div>';
128 128
             $resultArray['html'] = implode(LF, $html);
129 129
             return $resultArray;
@@ -192,31 +192,31 @@  discard block
 block discarded – undo
192 192
 
193 193
         $expansionHtml = [];
194 194
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
195
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
196
-        $expansionHtml[] =      '<div class="form-wizards-element">';
197
-        $expansionHtml[] =          '<div class="input-group">';
198
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
199
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
200
-        $expansionHtml[] =              '<span class="input-group-btn">';
201
-        $expansionHtml[] =                  '<label class="btn btn-default" for="' . $attributes['id'] . '">';
202
-        $expansionHtml[] =                      $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render();
203
-        $expansionHtml[] =                  '</label>';
204
-        $expansionHtml[] =              '</span>';
205
-        $expansionHtml[] =          '</div>';
206
-        $expansionHtml[] =      '</div>';
195
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
196
+        $expansionHtml[] = '<div class="form-wizards-element">';
197
+        $expansionHtml[] = '<div class="input-group">';
198
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
199
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
200
+        $expansionHtml[] = '<span class="input-group-btn">';
201
+        $expansionHtml[] = '<label class="btn btn-default" for="' . $attributes['id'] . '">';
202
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render();
203
+        $expansionHtml[] = '</label>';
204
+        $expansionHtml[] = '</span>';
205
+        $expansionHtml[] = '</div>';
206
+        $expansionHtml[] = '</div>';
207 207
         if (!empty($fieldControlHtml)) {
208
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
209
-            $expansionHtml[] =          '<div class="btn-group">';
210
-            $expansionHtml[] =              $fieldControlHtml;
211
-            $expansionHtml[] =          '</div>';
212
-            $expansionHtml[] =      '</div>';
208
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
209
+            $expansionHtml[] = '<div class="btn-group">';
210
+            $expansionHtml[] = $fieldControlHtml;
211
+            $expansionHtml[] = '</div>';
212
+            $expansionHtml[] = '</div>';
213 213
         }
214 214
         if (!empty($fieldWizardHtml)) {
215 215
             $expansionHtml[] = '<div class="form-wizards-items-bottom">';
216 216
             $expansionHtml[] = $fieldWizardHtml;
217 217
             $expansionHtml[] = '</div>';
218 218
         }
219
-        $expansionHtml[] =  '</div>';
219
+        $expansionHtml[] = '</div>';
220 220
         $expansionHtml[] = '</div>';
221 221
         $expansionHtml = implode(LF, $expansionHtml);
222 222
 
@@ -226,11 +226,11 @@  discard block
 block discarded – undo
226 226
             $fullElement = [];
227 227
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
228 228
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
229
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
230
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
231
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
232
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
233
-            $fullElement[] =     '</label>';
229
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
230
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
231
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
232
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
233
+            $fullElement[] = '</label>';
234 234
             $fullElement[] = '</div>';
235 235
             $fullElement[] = $expansionHtml;
236 236
             $fullElement = implode(LF, $fullElement);
@@ -259,19 +259,19 @@  discard block
 block discarded – undo
259 259
             }
260 260
             $fullElement = [];
261 261
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
262
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
263
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
264
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
265
-            $fullElement[] =         $overrideLabel;
266
-            $fullElement[] =     '</label>';
262
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
263
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
264
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
265
+            $fullElement[] = $overrideLabel;
266
+            $fullElement[] = '</label>';
267 267
             $fullElement[] = '</div>';
268 268
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
269
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
270
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
271
-            $fullElement[] =    '</div>';
269
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
270
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . $shortenedPlaceholder . '" />';
271
+            $fullElement[] = '</div>';
272 272
             $fullElement[] = '</div>';
273 273
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
274
-            $fullElement[] =    $expansionHtml;
274
+            $fullElement[] = $expansionHtml;
275 275
             $fullElement[] = '</div>';
276 276
             $fullElement = implode(LF, $fullElement);
277 277
         }
Please login to merge, or discard this patch.