Passed
Push — master ( 3db4e3...e9a380 )
by
unknown
16:33
created
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php 1 patch
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -140,43 +140,43 @@
 block discarded – undo
140 140
         $html = [];
141 141
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
142 142
         $html[] = $fieldInformationHtml;
143
-        $html[] =   '<div class="form-control-wrap">';
144
-        $html[] =       '<div class="form-wizards-wrap">';
145
-        $html[] =           '<div class="form-wizards-element">';
146
-        $html[] =               '<div class="typo3-tceforms-tree">';
147
-        $html[] =                   '<input class="treeRecord" type="hidden" id="' . htmlspecialchars($fieldId) . '"';
148
-        $html[] =                       ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
149
-        $html[] =                       ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
150
-        $html[] =                       ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
151
-        $html[] =                       ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
152
-        $html[] =                       ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
153
-        $html[] =                       ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
154
-        $html[] =                       ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
155
-        $html[] =                       ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
156
-        $html[] =                       ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
157
-        $html[] =                       ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
158
-        $html[] =                       ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
159
-        $html[] =                       ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
160
-        $html[] =                       ' data-flexformsectioncontainerisnew="' . htmlspecialchars((string)$flexFormSectionContainerIsNew) . '"';
161
-        $html[] =                       ' data-command="' . htmlspecialchars($this->data['command']) . '"';
162
-        $html[] =                       ' data-read-only="' . ($readOnly ? '1' : '0') . '"';
163
-        $html[] =                       ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
164
-        $html[] =                       ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
165
-        $html[] =                       ' data-tree-show-toolbar="' . $showHeader . '"';
166
-        $html[] =                       ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
167
-        $html[] =                       ' id="treeinput' . $formElementId . '"';
168
-        $html[] =                       ' value="' . htmlspecialchars(implode(',', $parameterArray['itemFormElValue'])) . '"';
169
-        $html[] =                   '/>';
170
-        $html[] =               '</div>';
171
-        $html[] =               '<div id="' . $treeWrapperId . '" class="svg-tree-element" style="height: ' . $heightInPx . 'px;"></div>';
172
-        $html[] =           '</div>';
143
+        $html[] = '<div class="form-control-wrap">';
144
+        $html[] = '<div class="form-wizards-wrap">';
145
+        $html[] = '<div class="form-wizards-element">';
146
+        $html[] = '<div class="typo3-tceforms-tree">';
147
+        $html[] = '<input class="treeRecord" type="hidden" id="' . htmlspecialchars($fieldId) . '"';
148
+        $html[] = ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
149
+        $html[] = ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
150
+        $html[] = ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
151
+        $html[] = ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
152
+        $html[] = ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
153
+        $html[] = ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
154
+        $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
155
+        $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
156
+        $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
157
+        $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
158
+        $html[] = ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
159
+        $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
160
+        $html[] = ' data-flexformsectioncontainerisnew="' . htmlspecialchars((string)$flexFormSectionContainerIsNew) . '"';
161
+        $html[] = ' data-command="' . htmlspecialchars($this->data['command']) . '"';
162
+        $html[] = ' data-read-only="' . ($readOnly ? '1' : '0') . '"';
163
+        $html[] = ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
164
+        $html[] = ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
165
+        $html[] = ' data-tree-show-toolbar="' . $showHeader . '"';
166
+        $html[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
167
+        $html[] = ' id="treeinput' . $formElementId . '"';
168
+        $html[] = ' value="' . htmlspecialchars(implode(',', $parameterArray['itemFormElValue'])) . '"';
169
+        $html[] = '/>';
170
+        $html[] = '</div>';
171
+        $html[] = '<div id="' . $treeWrapperId . '" class="svg-tree-element" style="height: ' . $heightInPx . 'px;"></div>';
172
+        $html[] = '</div>';
173 173
         if (!$readOnly && !empty($fieldWizardHtml)) {
174
-            $html[] =       '<div class="form-wizards-items-bottom">';
175
-            $html[] =           $fieldWizardHtml;
176
-            $html[] =       '</div>';
174
+            $html[] = '<div class="form-wizards-items-bottom">';
175
+            $html[] = $fieldWizardHtml;
176
+            $html[] = '</div>';
177 177
         }
178
-        $html[] =       '</div>';
179
-        $html[] =   '</div>';
178
+        $html[] = '</div>';
179
+        $html[] = '</div>';
180 180
         $html[] = '</div>';
181 181
 
182 182
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.