@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Form\FieldControl; |
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\FormDataProvider; |
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; |
4 | 4 | |
5 | 5 | /* |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | $options = $this->data; |
74 | 74 | // Append container specific stuff to field prefix |
75 | - $options['flexFormFormPrefix'] = $flexFormFormPrefix . '[' . $flexFormContainerIdentifier . '][' . $this->data['flexFormContainerName'] . '][el]'; |
|
75 | + $options['flexFormFormPrefix'] = $flexFormFormPrefix . '[' . $flexFormContainerIdentifier . '][' . $this->data['flexFormContainerName'] . '][el]'; |
|
76 | 76 | $options['flexFormDataStructureArray'] = $flexFormDataStructureArray['el']; |
77 | 77 | $options['renderType'] = 'flexFormElementContainer'; |
78 | 78 | $containerContentResult = $this->nodeFactory->create($options)->render(); |
@@ -84,33 +84,33 @@ discard block |
||
84 | 84 | |
85 | 85 | $html = []; |
86 | 86 | $html[] = '<div class="t3-form-field-container-flexsections t3-flex-section t3js-flex-section">'; |
87 | - $html[] = '<input class="t3-flex-control t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />'; |
|
88 | - $html[] = '<div class="panel panel-default panel-condensed">'; |
|
89 | - $html[] = '<div class="panel-heading t3js-flex-section-header" data-toggle="formengine-flex">'; |
|
90 | - $html[] = '<div class="form-irre-header">'; |
|
91 | - $html[] = '<div class="form-irre-header-cell form-irre-header-icon">'; |
|
92 | - $html[] = $toggleIcons; |
|
93 | - $html[] = '</div>'; |
|
94 | - $html[] = '<div class="form-irre-header-cell form-irre-header-body">'; |
|
95 | - $html[] = '<span class="t3js-record-title">' . htmlspecialchars($containerTitle) . '</span>'; |
|
96 | - $html[] = '</div>'; |
|
97 | - $html[] = '<div class="form-irre-header-cell form-irre-header-control">'; |
|
98 | - $html[] = '<div class="btn-group btn-group-sm">'; |
|
99 | - $html[] = implode(LF, $moveAndDeleteContent); |
|
100 | - $html[] = '</div>'; |
|
101 | - $html[] = '</div>'; |
|
102 | - $html[] = '</div>'; |
|
103 | - $html[] = '</div>'; |
|
104 | - $html[] = '<div class="panel-collapse t3js-flex-section-content"' . ($flexFormContainerElementCollapsed ? ' style="display:none;"' : '') . '>'; |
|
105 | - $html[] = $containerContentResult['html']; |
|
106 | - $html[] = '</div>'; |
|
107 | - $html[] = '<input'; |
|
108 | - $html[] = 'class="t3-flex-control t3js-flex-control-toggle"'; |
|
109 | - $html[] = 'type="hidden"'; |
|
110 | - $html[] = 'name="' . htmlspecialchars($toggleFieldName) . '"'; |
|
111 | - $html[] = 'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"'; |
|
112 | - $html[] = '/>'; |
|
113 | - $html[] = '</div>'; |
|
87 | + $html[] = '<input class="t3-flex-control t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />'; |
|
88 | + $html[] = '<div class="panel panel-default panel-condensed">'; |
|
89 | + $html[] = '<div class="panel-heading t3js-flex-section-header" data-toggle="formengine-flex">'; |
|
90 | + $html[] = '<div class="form-irre-header">'; |
|
91 | + $html[] = '<div class="form-irre-header-cell form-irre-header-icon">'; |
|
92 | + $html[] = $toggleIcons; |
|
93 | + $html[] = '</div>'; |
|
94 | + $html[] = '<div class="form-irre-header-cell form-irre-header-body">'; |
|
95 | + $html[] = '<span class="t3js-record-title">' . htmlspecialchars($containerTitle) . '</span>'; |
|
96 | + $html[] = '</div>'; |
|
97 | + $html[] = '<div class="form-irre-header-cell form-irre-header-control">'; |
|
98 | + $html[] = '<div class="btn-group btn-group-sm">'; |
|
99 | + $html[] = implode(LF, $moveAndDeleteContent); |
|
100 | + $html[] = '</div>'; |
|
101 | + $html[] = '</div>'; |
|
102 | + $html[] = '</div>'; |
|
103 | + $html[] = '</div>'; |
|
104 | + $html[] = '<div class="panel-collapse t3js-flex-section-content"' . ($flexFormContainerElementCollapsed ? ' style="display:none;"' : '') . '>'; |
|
105 | + $html[] = $containerContentResult['html']; |
|
106 | + $html[] = '</div>'; |
|
107 | + $html[] = '<input'; |
|
108 | + $html[] = 'class="t3-flex-control t3js-flex-control-toggle"'; |
|
109 | + $html[] = 'type="hidden"'; |
|
110 | + $html[] = 'name="' . htmlspecialchars($toggleFieldName) . '"'; |
|
111 | + $html[] = 'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"'; |
|
112 | + $html[] = '/>'; |
|
113 | + $html[] = '</div>'; |
|
114 | 114 | $html[] = '</div>'; |
115 | 115 | |
116 | 116 | $resultArray = $this->initializeResultArray(); |
@@ -68,7 +68,7 @@ |
||
68 | 68 | $tabCounter = 0; |
69 | 69 | $tabElements = []; |
70 | 70 | foreach ($tabsArray as $tabWithLabelAndElements) { |
71 | - $tabCounter ++; |
|
71 | + $tabCounter++; |
|
72 | 72 | $elements = $tabWithLabelAndElements['elements']; |
73 | 73 | |
74 | 74 | // Merge elements of this tab into a single list again and hand over to |
@@ -127,16 +127,16 @@ |
||
127 | 127 | $lang = $this->getLanguageService(); |
128 | 128 | if ($this->ext_showNavTitle && isset($row['nav_title']) && trim($row['nav_title']) !== '') { |
129 | 129 | $title = '<span title="' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:title')) . ' ' |
130 | - . htmlspecialchars(trim($row['title'])) . '">' |
|
131 | - . htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['nav_title'], $titleLen)) |
|
132 | - . '</span>'; |
|
130 | + . htmlspecialchars(trim($row['title'])) . '">' |
|
131 | + . htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['nav_title'], $titleLen)) |
|
132 | + . '</span>'; |
|
133 | 133 | } else { |
134 | 134 | $title = htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['title'], $titleLen)); |
135 | 135 | if (isset($row['nav_title']) && trim($row['nav_title']) !== '') { |
136 | 136 | $title = '<span title="' |
137 | - . htmlspecialchars($lang->sL('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.nav_title')) |
|
138 | - . ' ' . htmlspecialchars(trim($row['nav_title'])) . '">' . $title |
|
139 | - . '</span>'; |
|
137 | + . htmlspecialchars($lang->sL('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.nav_title')) |
|
138 | + . ' ' . htmlspecialchars(trim($row['nav_title'])) . '">' . $title |
|
139 | + . '</span>'; |
|
140 | 140 | } |
141 | 141 | $title = trim($row['title']) === '' |
142 | 142 | ? '<em>[' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.no_title')) . ']</em>' |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Form\Controller; |
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\Form\Controller; |
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\Form\Mvc\Persistence\Exception; |
4 | 4 | |
5 | 5 | /* |