@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Tree\Repository; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\FormDataGroup; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\NodeExpansion; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\NodeExpansion; |
4 | 4 | |
5 | 5 | /* |
@@ -126,9 +126,9 @@ discard block |
||
126 | 126 | |
127 | 127 | $html = []; |
128 | 128 | $html[] = '<a ' . GeneralUtility::implodeAttributes($linkAttributes, true) . '>'; |
129 | - $html[] = '<span alt="' . htmlspecialchars($title) . '" title="' . htmlspecialchars($title) . '">'; |
|
130 | - $html[] = $iconFactory->getIcon($icon, Icon::SIZE_SMALL)->render(); |
|
131 | - $html[] = '</span>'; |
|
129 | + $html[] = '<span alt="' . htmlspecialchars($title) . '" title="' . htmlspecialchars($title) . '">'; |
|
130 | + $html[] = $iconFactory->getIcon($icon, Icon::SIZE_SMALL)->render(); |
|
131 | + $html[] = '</span>'; |
|
132 | 132 | $html[] = '</a>'; |
133 | 133 | |
134 | 134 | $finalControlResult = $this->initializeResultArray(); |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\FieldWizard; |
4 | 4 | |
5 | 5 | /* |
@@ -57,18 +57,18 @@ discard block |
||
57 | 57 | $html = []; |
58 | 58 | if (!empty($selectIcons)) { |
59 | 59 | $html[] = '<div class="t3js-forms-select-single-icons icon-list">'; |
60 | - $html[] = '<div class="row">'; |
|
60 | + $html[] = '<div class="row">'; |
|
61 | 61 | foreach ($selectIcons as $i => $selectIcon) { |
62 | - $active = $selectIcon['active'] ? ' active' : ''; |
|
63 | - $html[] = '<div class="item' . $active . '">'; |
|
62 | + $active = $selectIcon['active'] ? ' active' : ''; |
|
63 | + $html[] = '<div class="item' . $active . '">'; |
|
64 | 64 | if (is_array($selectIcon)) { |
65 | 65 | $html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">'; |
66 | - $html[] = $selectIcon['icon']; |
|
66 | + $html[] = $selectIcon['icon']; |
|
67 | 67 | $html[] = '</a>'; |
68 | 68 | } |
69 | - $html[] = '</div>'; |
|
69 | + $html[] = '</div>'; |
|
70 | 70 | } |
71 | - $html[] = '</div>'; |
|
71 | + $html[] = '</div>'; |
|
72 | 72 | $html[] = '</div>'; |
73 | 73 | } |
74 | 74 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\FieldWizard; |
4 | 4 | |
5 | 5 | /* |
@@ -57,8 +57,8 @@ discard block |
||
57 | 57 | $html = []; |
58 | 58 | if (!empty($allowedHtml) || !empty($disallowedHtml)) { |
59 | 59 | $html[] = '<div class="help-block">'; |
60 | - $html[] = implode(LF, $allowedHtml); |
|
61 | - $html[] = implode(LF, $disallowedHtml); |
|
60 | + $html[] = implode(LF, $allowedHtml); |
|
61 | + $html[] = implode(LF, $disallowedHtml); |
|
62 | 62 | $html[] = '</div>'; |
63 | 63 | } |
64 | 64 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\FieldWizard; |
4 | 4 | |
5 | 5 | /* |
@@ -69,8 +69,8 @@ discard block |
||
69 | 69 | ); |
70 | 70 | if ($defaultLanguageValue !== '') { |
71 | 71 | $html[] = '<div class="t3-form-original-language">'; |
72 | - $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][0]['flagIconIdentifier'], Icon::SIZE_SMALL)->render(); |
|
73 | - $html[] = $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName); |
|
72 | + $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][0]['flagIconIdentifier'], Icon::SIZE_SMALL)->render(); |
|
73 | + $html[] = $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName); |
|
74 | 74 | $html[] = '</div>'; |
75 | 75 | } |
76 | 76 | $additionalPreviewLanguages = $this->data['additionalLanguageRows']; |
@@ -84,8 +84,8 @@ discard block |
||
84 | 84 | ); |
85 | 85 | if ($defaultLanguageValue !== '') { |
86 | 86 | $html[] = '<div class="t3-form-original-language">'; |
87 | - $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render(); |
|
88 | - $html[] = $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName); |
|
87 | + $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render(); |
|
88 | + $html[] = $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName); |
|
89 | 89 | $html[] = '</div>'; |
90 | 90 | } |
91 | 91 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\FieldWizard; |
4 | 4 | |
5 | 5 | /* |
@@ -67,15 +67,15 @@ discard block |
||
67 | 67 | $multipleFilenameSuffix = '[]'; |
68 | 68 | } |
69 | 69 | |
70 | - $html= []; |
|
70 | + $html = []; |
|
71 | 71 | $html[] = '<div id="' . $uploadFieldId . '">'; |
72 | - $html[] = '<input'; |
|
73 | - $html[] = ' type="file"'; |
|
74 | - $html[] = $selectorMultipleAttribute; |
|
75 | - $html[] = ' name="data_files' . $this->data['elementBaseName'] . $multipleFilenameSuffix . '"'; |
|
76 | - $html[] = ' size="35"'; |
|
77 | - $html[] = ' onchange="' . implode('', $parameterArray['fieldChangeFunc']) . '"'; |
|
78 | - $html[] = '/>'; |
|
72 | + $html[] = '<input'; |
|
73 | + $html[] = ' type="file"'; |
|
74 | + $html[] = $selectorMultipleAttribute; |
|
75 | + $html[] = ' name="data_files' . $this->data['elementBaseName'] . $multipleFilenameSuffix . '"'; |
|
76 | + $html[] = ' size="35"'; |
|
77 | + $html[] = ' onchange="' . implode('', $parameterArray['fieldChangeFunc']) . '"'; |
|
78 | + $html[] = '/>'; |
|
79 | 79 | $html[] = '</div>'; |
80 | 80 | |
81 | 81 | $result['html'] = implode(LF, $html); |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\FieldWizard; |
4 | 4 | |
5 | 5 | /* |
@@ -67,9 +67,9 @@ discard block |
||
67 | 67 | ) |
68 | 68 | ) { |
69 | 69 | $thumbnailsHtml[] = '<li>'; |
70 | - $thumbnailsHtml[] = '<span class="thumbnail">'; |
|
71 | - $thumbnailsHtml[] = $fileObject->process(ProcessedFile::CONTEXT_IMAGEPREVIEW, [])->getPublicUrl(true); |
|
72 | - $thumbnailsHtml[] = '</span>'; |
|
70 | + $thumbnailsHtml[] = '<span class="thumbnail">'; |
|
71 | + $thumbnailsHtml[] = $fileObject->process(ProcessedFile::CONTEXT_IMAGEPREVIEW, [])->getPublicUrl(true); |
|
72 | + $thumbnailsHtml[] = '</span>'; |
|
73 | 73 | $thumbnailsHtml[] = '</li>'; |
74 | 74 | } |
75 | 75 | } |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | $html = []; |
114 | 114 | if (!empty($thumbnailsHtml)) { |
115 | 115 | $html[] = '<ul class="list-inline">'; |
116 | - $html[] = implode(LF, $thumbnailsHtml); |
|
116 | + $html[] = implode(LF, $thumbnailsHtml); |
|
117 | 117 | $html[] = '</ul>'; |
118 | 118 | } |
119 | 119 |