@@ -55,42 +55,42 @@ |
||
| 55 | 55 | public function getFactories(): array |
| 56 | 56 | { |
| 57 | 57 | return [ |
| 58 | - Http\Application::class => [ static::class, 'getApplication' ], |
|
| 59 | - Http\NotFoundRequestHandler::class => [ static::class, 'getNotFoundRequestHandler' ], |
|
| 60 | - Service\ClearCacheService::class => [ static::class, 'getClearCacheService' ], |
|
| 61 | - Service\CoreUpdateService::class => [ static::class, 'getCoreUpdateService' ], |
|
| 62 | - Service\CoreVersionService::class => [ static::class, 'getCoreVersionService' ], |
|
| 63 | - Service\ExtensionConfigurationService::class => [ static::class, 'getExtensionConfigurationService' ], |
|
| 64 | - Service\LanguagePackService::class => [ static::class, 'getLanguagePackService' ], |
|
| 65 | - Service\LateBootService::class => [ static::class, 'getLateBootService' ], |
|
| 66 | - Service\LoadTcaService::class => [ static::class, 'getLoadTcaService' ], |
|
| 67 | - Service\SilentConfigurationUpgradeService::class => [ static::class, 'getSilentConfigurationUpgradeService' ], |
|
| 68 | - Service\SilentTemplateFileUpgradeService::class => [ static::class, 'getSilentTemplateFileUpgradeService' ], |
|
| 69 | - Service\WebServerConfigurationFileService::class => [ static::class, 'getWebServerConfigurationFileService' ], |
|
| 70 | - Service\Typo3tempFileService::class => [ static::class, 'getTypo3tempFileService' ], |
|
| 71 | - Service\UpgradeWizardsService::class => [ static::class, 'getUpgradeWizardsService' ], |
|
| 72 | - Middleware\Installer::class => [ static::class, 'getInstallerMiddleware' ], |
|
| 73 | - Middleware\Maintenance::class => [ static::class, 'getMaintenanceMiddleware' ], |
|
| 74 | - Controller\EnvironmentController::class => [ static::class, 'getEnvironmentController' ], |
|
| 75 | - Controller\IconController::class => [ static::class, 'getIconController' ], |
|
| 76 | - Controller\InstallerController::class => [ static::class, 'getInstallerController' ], |
|
| 77 | - Controller\LayoutController::class => [ static::class, 'getLayoutController' ], |
|
| 78 | - Controller\LoginController::class => [ static::class, 'getLoginController' ], |
|
| 79 | - Controller\MaintenanceController::class => [ static::class, 'getMaintenanceController' ], |
|
| 80 | - Controller\SettingsController::class => [ static::class, 'getSettingsController' ], |
|
| 81 | - Controller\UpgradeController::class => [ static::class, 'getUpgradeController' ], |
|
| 82 | - Command\LanguagePackCommand::class => [ static::class, 'getLanguagePackCommand' ], |
|
| 83 | - Command\UpgradeWizardRunCommand::class => [ static::class, 'getUpgradeWizardRunCommand' ], |
|
| 84 | - Command\UpgradeWizardListCommand::class => [ static::class, 'getUpgradeWizardListCommand' ], |
|
| 85 | - Database\PermissionsCheck::class => [ static::class, 'getPermissionsCheck' ], |
|
| 58 | + Http\Application::class => [static::class, 'getApplication'], |
|
| 59 | + Http\NotFoundRequestHandler::class => [static::class, 'getNotFoundRequestHandler'], |
|
| 60 | + Service\ClearCacheService::class => [static::class, 'getClearCacheService'], |
|
| 61 | + Service\CoreUpdateService::class => [static::class, 'getCoreUpdateService'], |
|
| 62 | + Service\CoreVersionService::class => [static::class, 'getCoreVersionService'], |
|
| 63 | + Service\ExtensionConfigurationService::class => [static::class, 'getExtensionConfigurationService'], |
|
| 64 | + Service\LanguagePackService::class => [static::class, 'getLanguagePackService'], |
|
| 65 | + Service\LateBootService::class => [static::class, 'getLateBootService'], |
|
| 66 | + Service\LoadTcaService::class => [static::class, 'getLoadTcaService'], |
|
| 67 | + Service\SilentConfigurationUpgradeService::class => [static::class, 'getSilentConfigurationUpgradeService'], |
|
| 68 | + Service\SilentTemplateFileUpgradeService::class => [static::class, 'getSilentTemplateFileUpgradeService'], |
|
| 69 | + Service\WebServerConfigurationFileService::class => [static::class, 'getWebServerConfigurationFileService'], |
|
| 70 | + Service\Typo3tempFileService::class => [static::class, 'getTypo3tempFileService'], |
|
| 71 | + Service\UpgradeWizardsService::class => [static::class, 'getUpgradeWizardsService'], |
|
| 72 | + Middleware\Installer::class => [static::class, 'getInstallerMiddleware'], |
|
| 73 | + Middleware\Maintenance::class => [static::class, 'getMaintenanceMiddleware'], |
|
| 74 | + Controller\EnvironmentController::class => [static::class, 'getEnvironmentController'], |
|
| 75 | + Controller\IconController::class => [static::class, 'getIconController'], |
|
| 76 | + Controller\InstallerController::class => [static::class, 'getInstallerController'], |
|
| 77 | + Controller\LayoutController::class => [static::class, 'getLayoutController'], |
|
| 78 | + Controller\LoginController::class => [static::class, 'getLoginController'], |
|
| 79 | + Controller\MaintenanceController::class => [static::class, 'getMaintenanceController'], |
|
| 80 | + Controller\SettingsController::class => [static::class, 'getSettingsController'], |
|
| 81 | + Controller\UpgradeController::class => [static::class, 'getUpgradeController'], |
|
| 82 | + Command\LanguagePackCommand::class => [static::class, 'getLanguagePackCommand'], |
|
| 83 | + Command\UpgradeWizardRunCommand::class => [static::class, 'getUpgradeWizardRunCommand'], |
|
| 84 | + Command\UpgradeWizardListCommand::class => [static::class, 'getUpgradeWizardListCommand'], |
|
| 85 | + Database\PermissionsCheck::class => [static::class, 'getPermissionsCheck'], |
|
| 86 | 86 | ]; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | public function getExtensions(): array |
| 90 | 90 | { |
| 91 | 91 | return [ |
| 92 | - 'backend.routes' => [ static::class, 'configureBackendRoutes' ], |
|
| 93 | - CommandRegistry::class => [ static::class, 'configureCommands' ], |
|
| 92 | + 'backend.routes' => [static::class, 'configureBackendRoutes'], |
|
| 93 | + CommandRegistry::class => [static::class, 'configureCommands'], |
|
| 94 | 94 | ]; |
| 95 | 95 | } |
| 96 | 96 | |
@@ -60,18 +60,18 @@ |
||
| 60 | 60 | $html = []; |
| 61 | 61 | if (!empty($selectIcons)) { |
| 62 | 62 | $html[] = '<div class="t3js-forms-select-single-icons icon-list">'; |
| 63 | - $html[] = '<div class="row">'; |
|
| 63 | + $html[] = '<div class="row">'; |
|
| 64 | 64 | foreach ($selectIcons as $i => $selectIcon) { |
| 65 | - $active = $selectIcon['active'] ? ' active' : ''; |
|
| 66 | - $html[] = '<div class="col col-auto item' . $active . '">'; |
|
| 65 | + $active = $selectIcon['active'] ? ' active' : ''; |
|
| 66 | + $html[] = '<div class="col col-auto item' . $active . '">'; |
|
| 67 | 67 | if (is_array($selectIcon)) { |
| 68 | 68 | $html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">'; |
| 69 | - $html[] = $selectIcon['icon']; |
|
| 69 | + $html[] = $selectIcon['icon']; |
|
| 70 | 70 | $html[] = '</a>'; |
| 71 | 71 | } |
| 72 | - $html[] = '</div>'; |
|
| 72 | + $html[] = '</div>'; |
|
| 73 | 73 | } |
| 74 | - $html[] = '</div>'; |
|
| 74 | + $html[] = '</div>'; |
|
| 75 | 75 | $html[] = '</div>'; |
| 76 | 76 | } |
| 77 | 77 | |
@@ -49,22 +49,22 @@ discard block |
||
| 49 | 49 | ], |
| 50 | 50 | 'insertClipboard' => [ |
| 51 | 51 | 'renderType' => 'insertClipboard', |
| 52 | - 'after' => [ 'elementBrowser' ], |
|
| 52 | + 'after' => ['elementBrowser'], |
|
| 53 | 53 | ], |
| 54 | 54 | 'editPopup' => [ |
| 55 | 55 | 'renderType' => 'editPopup', |
| 56 | 56 | 'disabled' => true, |
| 57 | - 'after' => [ 'insertClipboard' ], |
|
| 57 | + 'after' => ['insertClipboard'], |
|
| 58 | 58 | ], |
| 59 | 59 | 'addRecord' => [ |
| 60 | 60 | 'renderType' => 'addRecord', |
| 61 | 61 | 'disabled' => true, |
| 62 | - 'after' => [ 'editPopup' ], |
|
| 62 | + 'after' => ['editPopup'], |
|
| 63 | 63 | ], |
| 64 | 64 | 'listModule' => [ |
| 65 | 65 | 'renderType' => 'listModule', |
| 66 | 66 | 'disabled' => true, |
| 67 | - 'after' => [ 'addRecord' ], |
|
| 67 | + 'after' => ['addRecord'], |
|
| 68 | 68 | ], |
| 69 | 69 | ]; |
| 70 | 70 | |
@@ -79,19 +79,19 @@ discard block |
||
| 79 | 79 | ], |
| 80 | 80 | 'recordsOverview' => [ |
| 81 | 81 | 'renderType' => 'recordsOverview', |
| 82 | - 'after' => [ 'tableList' ], |
|
| 82 | + 'after' => ['tableList'], |
|
| 83 | 83 | ], |
| 84 | 84 | 'localizationStateSelector' => [ |
| 85 | 85 | 'renderType' => 'localizationStateSelector', |
| 86 | - 'after' => [ 'recordsOverview' ], |
|
| 86 | + 'after' => ['recordsOverview'], |
|
| 87 | 87 | ], |
| 88 | 88 | 'otherLanguageContent' => [ |
| 89 | 89 | 'renderType' => 'otherLanguageContent', |
| 90 | - 'after' => [ 'localizationStateSelector' ], |
|
| 90 | + 'after' => ['localizationStateSelector'], |
|
| 91 | 91 | ], |
| 92 | 92 | 'defaultLanguageDifferences' => [ |
| 93 | 93 | 'renderType' => 'defaultLanguageDifferences', |
| 94 | - 'after' => [ 'otherLanguageContent' ], |
|
| 94 | + 'after' => ['otherLanguageContent'], |
|
| 95 | 95 | ], |
| 96 | 96 | ]; |
| 97 | 97 | |
@@ -171,21 +171,21 @@ discard block |
||
| 171 | 171 | // Return early if element is read only |
| 172 | 172 | $html = []; |
| 173 | 173 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
| 174 | - $html[] = $fieldInformationHtml; |
|
| 175 | - $html[] = '<div class="form-wizards-wrap">'; |
|
| 176 | - $html[] = '<div class="form-wizards-element">'; |
|
| 177 | - $html[] = '<select'; |
|
| 178 | - $html[] = ' size="' . $size . '"'; |
|
| 179 | - $html[] = ' disabled="disabled"'; |
|
| 180 | - $html[] = ' class="form-select"'; |
|
| 181 | - $html[] = ($maxItems !== 1 && $size !== 1) ? ' multiple="multiple"' : ''; |
|
| 182 | - $html[] = '>'; |
|
| 183 | - $html[] = implode(LF, $selectorOptionsHtml); |
|
| 184 | - $html[] = '</select>'; |
|
| 185 | - $html[] = '</div>'; |
|
| 186 | - $html[] = '<div class="form-wizards-items-aside">'; |
|
| 187 | - $html[] = '</div>'; |
|
| 188 | - $html[] = '</div>'; |
|
| 174 | + $html[] = $fieldInformationHtml; |
|
| 175 | + $html[] = '<div class="form-wizards-wrap">'; |
|
| 176 | + $html[] = '<div class="form-wizards-element">'; |
|
| 177 | + $html[] = '<select'; |
|
| 178 | + $html[] = ' size="' . $size . '"'; |
|
| 179 | + $html[] = ' disabled="disabled"'; |
|
| 180 | + $html[] = ' class="form-select"'; |
|
| 181 | + $html[] = ($maxItems !== 1 && $size !== 1) ? ' multiple="multiple"' : ''; |
|
| 182 | + $html[] = '>'; |
|
| 183 | + $html[] = implode(LF, $selectorOptionsHtml); |
|
| 184 | + $html[] = '</select>'; |
|
| 185 | + $html[] = '</div>'; |
|
| 186 | + $html[] = '<div class="form-wizards-items-aside">'; |
|
| 187 | + $html[] = '</div>'; |
|
| 188 | + $html[] = '</div>'; |
|
| 189 | 189 | $html[] = '</div>'; |
| 190 | 190 | $resultArray['html'] = implode(LF, $html); |
| 191 | 191 | return $resultArray; |
@@ -265,100 +265,100 @@ discard block |
||
| 265 | 265 | |
| 266 | 266 | $html = []; |
| 267 | 267 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
| 268 | - $html[] = $fieldInformationHtml; |
|
| 269 | - $html[] = '<div class="form-wizards-wrap">'; |
|
| 268 | + $html[] = $fieldInformationHtml; |
|
| 269 | + $html[] = '<div class="form-wizards-wrap">'; |
|
| 270 | 270 | if ($internalType === 'db' && (!isset($config['hideSuggest']) || (bool)$config['hideSuggest'] !== true)) { |
| 271 | - $html[] = '<div class="form-wizards-items-top">'; |
|
| 272 | - $html[] = '<div class="autocomplete t3-form-suggest-container">'; |
|
| 273 | - $html[] = '<div class="input-group">'; |
|
| 274 | - $html[] = '<span class="input-group-addon">'; |
|
| 275 | - $html[] = $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render(); |
|
| 276 | - $html[] = '</span>'; |
|
| 277 | - $html[] = '<input type="search" class="t3-form-suggest form-control"'; |
|
| 278 | - $html[] = ' placeholder="' . $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"'; |
|
| 279 | - $html[] = ' data-fieldname="' . htmlspecialchars($fieldName) . '"'; |
|
| 280 | - $html[] = ' data-tablename="' . htmlspecialchars($table) . '"'; |
|
| 281 | - $html[] = ' data-field="' . htmlspecialchars($elementName) . '"'; |
|
| 282 | - $html[] = ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"'; |
|
| 283 | - $html[] = ' data-pid="' . htmlspecialchars($this->data['parentPageRow']['uid'] ?? 0) . '"'; |
|
| 284 | - $html[] = ' data-fieldtype="' . htmlspecialchars($config['type']) . '"'; |
|
| 285 | - $html[] = ' data-minchars="' . htmlspecialchars((string)$suggestMinimumCharacters) . '"'; |
|
| 286 | - $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"'; |
|
| 287 | - $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"'; |
|
| 288 | - $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"'; |
|
| 289 | - $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"'; |
|
| 290 | - $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"'; |
|
| 291 | - $html[] = '/>'; |
|
| 292 | - $html[] = '</div>'; |
|
| 293 | - $html[] = '</div>'; |
|
| 294 | - $html[] = '</div>'; |
|
| 271 | + $html[] = '<div class="form-wizards-items-top">'; |
|
| 272 | + $html[] = '<div class="autocomplete t3-form-suggest-container">'; |
|
| 273 | + $html[] = '<div class="input-group">'; |
|
| 274 | + $html[] = '<span class="input-group-addon">'; |
|
| 275 | + $html[] = $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render(); |
|
| 276 | + $html[] = '</span>'; |
|
| 277 | + $html[] = '<input type="search" class="t3-form-suggest form-control"'; |
|
| 278 | + $html[] = ' placeholder="' . $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"'; |
|
| 279 | + $html[] = ' data-fieldname="' . htmlspecialchars($fieldName) . '"'; |
|
| 280 | + $html[] = ' data-tablename="' . htmlspecialchars($table) . '"'; |
|
| 281 | + $html[] = ' data-field="' . htmlspecialchars($elementName) . '"'; |
|
| 282 | + $html[] = ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"'; |
|
| 283 | + $html[] = ' data-pid="' . htmlspecialchars($this->data['parentPageRow']['uid'] ?? 0) . '"'; |
|
| 284 | + $html[] = ' data-fieldtype="' . htmlspecialchars($config['type']) . '"'; |
|
| 285 | + $html[] = ' data-minchars="' . htmlspecialchars((string)$suggestMinimumCharacters) . '"'; |
|
| 286 | + $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"'; |
|
| 287 | + $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"'; |
|
| 288 | + $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"'; |
|
| 289 | + $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"'; |
|
| 290 | + $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"'; |
|
| 291 | + $html[] = '/>'; |
|
| 292 | + $html[] = '</div>'; |
|
| 293 | + $html[] = '</div>'; |
|
| 294 | + $html[] = '</div>'; |
|
| 295 | 295 | } |
| 296 | - $html[] = '<div class="form-wizards-element">'; |
|
| 297 | - $html[] = '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />'; |
|
| 298 | - $html[] = '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>'; |
|
| 299 | - $html[] = implode(LF, $selectorOptionsHtml); |
|
| 300 | - $html[] = '</select>'; |
|
| 301 | - $html[] = '</div>'; |
|
| 302 | - $html[] = '<div class="form-wizards-items-aside">'; |
|
| 303 | - $html[] = '<div class="btn-group-vertical">'; |
|
| 304 | - if ($maxItems > 1 && $size >=5 && $showMoveIcons) { |
|
| 305 | - $html[] = '<a href="#"'; |
|
| 306 | - $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-top"'; |
|
| 307 | - $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 308 | - $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"'; |
|
| 309 | - $html[] = '>'; |
|
| 310 | - $html[] = $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render(); |
|
| 311 | - $html[] = '</a>'; |
|
| 296 | + $html[] = '<div class="form-wizards-element">'; |
|
| 297 | + $html[] = '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />'; |
|
| 298 | + $html[] = '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>'; |
|
| 299 | + $html[] = implode(LF, $selectorOptionsHtml); |
|
| 300 | + $html[] = '</select>'; |
|
| 301 | + $html[] = '</div>'; |
|
| 302 | + $html[] = '<div class="form-wizards-items-aside">'; |
|
| 303 | + $html[] = '<div class="btn-group-vertical">'; |
|
| 304 | + if ($maxItems > 1 && $size >= 5 && $showMoveIcons) { |
|
| 305 | + $html[] = '<a href="#"'; |
|
| 306 | + $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-top"'; |
|
| 307 | + $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 308 | + $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"'; |
|
| 309 | + $html[] = '>'; |
|
| 310 | + $html[] = $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render(); |
|
| 311 | + $html[] = '</a>'; |
|
| 312 | 312 | } |
| 313 | 313 | if ($maxItems > 1 && $size > 1 && $showMoveIcons) { |
| 314 | - $html[] = '<a href="#"'; |
|
| 315 | - $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-up"'; |
|
| 316 | - $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 317 | - $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"'; |
|
| 318 | - $html[] = '>'; |
|
| 319 | - $html[] = $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render(); |
|
| 320 | - $html[] = '</a>'; |
|
| 321 | - $html[] = '<a href="#"'; |
|
| 322 | - $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-down"'; |
|
| 323 | - $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 324 | - $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"'; |
|
| 325 | - $html[] = '>'; |
|
| 326 | - $html[] = $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render(); |
|
| 327 | - $html[] = '</a>'; |
|
| 314 | + $html[] = '<a href="#"'; |
|
| 315 | + $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-up"'; |
|
| 316 | + $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 317 | + $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"'; |
|
| 318 | + $html[] = '>'; |
|
| 319 | + $html[] = $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render(); |
|
| 320 | + $html[] = '</a>'; |
|
| 321 | + $html[] = '<a href="#"'; |
|
| 322 | + $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-down"'; |
|
| 323 | + $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 324 | + $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"'; |
|
| 325 | + $html[] = '>'; |
|
| 326 | + $html[] = $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render(); |
|
| 327 | + $html[] = '</a>'; |
|
| 328 | 328 | } |
| 329 | 329 | if ($maxItems > 1 && $size >= 5 && $showMoveIcons) { |
| 330 | - $html[] = '<a href="#"'; |
|
| 331 | - $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-bottom"'; |
|
| 332 | - $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 333 | - $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"'; |
|
| 334 | - $html[] = '>'; |
|
| 335 | - $html[] = $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render(); |
|
| 336 | - $html[] = '</a>'; |
|
| 330 | + $html[] = '<a href="#"'; |
|
| 331 | + $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-bottom"'; |
|
| 332 | + $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 333 | + $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"'; |
|
| 334 | + $html[] = '>'; |
|
| 335 | + $html[] = $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render(); |
|
| 336 | + $html[] = '</a>'; |
|
| 337 | 337 | } |
| 338 | 338 | if ($showDeleteControl) { |
| 339 | - $html[] = '<a href="#"'; |
|
| 340 | - $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-removeoption t3js-revert-unique"'; |
|
| 341 | - $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 342 | - $html[] = ' data-uid="' . htmlspecialchars($row['uid']) . '"'; |
|
| 343 | - $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"'; |
|
| 344 | - $html[] = '>'; |
|
| 345 | - $html[] = $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render(); |
|
| 346 | - $html[] = '</a>'; |
|
| 339 | + $html[] = '<a href="#"'; |
|
| 340 | + $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-removeoption t3js-revert-unique"'; |
|
| 341 | + $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"'; |
|
| 342 | + $html[] = ' data-uid="' . htmlspecialchars($row['uid']) . '"'; |
|
| 343 | + $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"'; |
|
| 344 | + $html[] = '>'; |
|
| 345 | + $html[] = $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render(); |
|
| 346 | + $html[] = '</a>'; |
|
| 347 | 347 | } |
| 348 | - $html[] = '</div>'; |
|
| 349 | - $html[] = '</div>'; |
|
| 350 | - $html[] = '<div class="form-wizards-items-aside">'; |
|
| 351 | - $html[] = '<div class="btn-group-vertical">'; |
|
| 352 | - $html[] = $fieldControlHtml; |
|
| 353 | - $html[] = '</div>'; |
|
| 354 | - $html[] = '</div>'; |
|
| 348 | + $html[] = '</div>'; |
|
| 349 | + $html[] = '</div>'; |
|
| 350 | + $html[] = '<div class="form-wizards-items-aside">'; |
|
| 351 | + $html[] = '<div class="btn-group-vertical">'; |
|
| 352 | + $html[] = $fieldControlHtml; |
|
| 353 | + $html[] = '</div>'; |
|
| 354 | + $html[] = '</div>'; |
|
| 355 | 355 | if (!empty($fieldWizardHtml)) { |
| 356 | 356 | $html[] = '<div class="form-wizards-items-bottom">'; |
| 357 | 357 | $html[] = $fieldWizardHtml; |
| 358 | 358 | $html[] = '</div>'; |
| 359 | 359 | } |
| 360 | - $html[] = '</div>'; |
|
| 361 | - $html[] = '<input type="hidden" name="' . htmlspecialchars($elementName) . '" value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '" />'; |
|
| 360 | + $html[] = '</div>'; |
|
| 361 | + $html[] = '<input type="hidden" name="' . htmlspecialchars($elementName) . '" value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '" />'; |
|
| 362 | 362 | $html[] = '</div>'; |
| 363 | 363 | |
| 364 | 364 | $resultArray['requireJsModules'][] = ['TYPO3/CMS/Backend/FormEngine/Element/GroupElement' => ' |
@@ -138,26 +138,26 @@ |
||
| 138 | 138 | |
| 139 | 139 | $html = []; |
| 140 | 140 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
| 141 | - $html[] = $fieldInformationHtml; |
|
| 142 | - $html[] = '<div class="form-control-wrap">'; |
|
| 143 | - $html[] = '<div class="form-wizards-wrap">'; |
|
| 144 | - $html[] = '<div class="form-wizards-element">'; |
|
| 145 | - $html[] = $editorHtml; |
|
| 146 | - $html[] = '</div>'; |
|
| 141 | + $html[] = $fieldInformationHtml; |
|
| 142 | + $html[] = '<div class="form-control-wrap">'; |
|
| 143 | + $html[] = '<div class="form-wizards-wrap">'; |
|
| 144 | + $html[] = '<div class="form-wizards-element">'; |
|
| 145 | + $html[] = $editorHtml; |
|
| 146 | + $html[] = '</div>'; |
|
| 147 | 147 | if (!empty($fieldControlHtml)) { |
| 148 | - $html[] = '<div class="form-wizards-items-aside">'; |
|
| 149 | - $html[] = '<div class="btn-group">'; |
|
| 150 | - $html[] = $fieldControlHtml; |
|
| 151 | - $html[] = '</div>'; |
|
| 152 | - $html[] = '</div>'; |
|
| 148 | + $html[] = '<div class="form-wizards-items-aside">'; |
|
| 149 | + $html[] = '<div class="btn-group">'; |
|
| 150 | + $html[] = $fieldControlHtml; |
|
| 151 | + $html[] = '</div>'; |
|
| 152 | + $html[] = '</div>'; |
|
| 153 | 153 | } |
| 154 | 154 | if (!empty($fieldWizardHtml)) { |
| 155 | 155 | $html[] = '<div class="form-wizards-items-bottom">'; |
| 156 | 156 | $html[] = $fieldWizardHtml; |
| 157 | 157 | $html[] = '</div>'; |
| 158 | 158 | } |
| 159 | - $html[] = '</div>'; |
|
| 160 | - $html[] = '</div>'; |
|
| 159 | + $html[] = '</div>'; |
|
| 160 | + $html[] = '</div>'; |
|
| 161 | 161 | $html[] = '</div>'; |
| 162 | 162 | |
| 163 | 163 | $this->resultArray['html'] = implode(LF, $html); |
@@ -282,7 +282,7 @@ |
||
| 282 | 282 | // Try adding or editing |
| 283 | 283 | $content .= $this->editTaskAction($requestUri); |
| 284 | 284 | $sectionTitle = $this->getLanguageService()->getLL('action.' . $this->getCurrentAction()); |
| 285 | - } catch (\LogicException|\UnexpectedValueException|\OutOfBoundsException $e) { |
|
| 285 | + } catch (\LogicException | \UnexpectedValueException | \OutOfBoundsException $e) { |
|
| 286 | 286 | // Catching all types of exceptions that were previously handled and |
| 287 | 287 | // converted to messages |
| 288 | 288 | $content .= $this->listTasksAction(); |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | 'route' => $this->getRequest()->getAttribute('route')->getPath(), |
| 77 | 77 | 'action' => $this->request->getControllerActionName(), |
| 78 | 78 | 'controller' => $this->request->getControllerName(), |
| 79 | - 'compareGroupUidList' => array_map(static function ($value) { // uid as key and force value to 1 |
|
| 79 | + 'compareGroupUidList' => array_map(static function($value) { // uid as key and force value to 1 |
|
| 80 | 80 | return 1; |
| 81 | 81 | }, array_flip($compareGroupUidList)), |
| 82 | 82 | 'compareGroupList' => !empty($compareGroupUidList) ? $this->backendUserGroupRepository->findByUidList($compareGroupUidList) : [], |
@@ -2530,7 +2530,7 @@ discard block |
||
| 2530 | 2530 | if (in_array('table', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectATable']) { |
| 2531 | 2531 | $out[] = '<div class="form-group">'; |
| 2532 | 2532 | $out[] = ' <label for="SET[queryTable]">Select a table:</label>'; |
| 2533 | - $out[] = $this->mkTableSelect('SET[queryTable]', $this->table); |
|
| 2533 | + $out[] = $this->mkTableSelect('SET[queryTable]', $this->table); |
|
| 2534 | 2534 | $out[] = '</div>'; |
| 2535 | 2535 | } |
| 2536 | 2536 | if ($this->table) { |
@@ -2570,19 +2570,19 @@ discard block |
||
| 2570 | 2570 | if (in_array('fields', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectFields']) { |
| 2571 | 2571 | $out[] = '<div class="form-group form-group-with-button-addon">'; |
| 2572 | 2572 | $out[] = ' <label for="SET[queryFields]">Select fields:</label>'; |
| 2573 | - $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']); |
|
| 2573 | + $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']); |
|
| 2574 | 2574 | $out[] = '</div>'; |
| 2575 | 2575 | } |
| 2576 | 2576 | if (in_array('query', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableMakeQuery']) { |
| 2577 | 2577 | $out[] = '<div class="form-group">'; |
| 2578 | 2578 | $out[] = ' <label>Make Query:</label>'; |
| 2579 | - $out[] = $queryCode; |
|
| 2579 | + $out[] = $queryCode; |
|
| 2580 | 2580 | $out[] = '</div>'; |
| 2581 | 2581 | } |
| 2582 | 2582 | if (in_array('group', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableGroupBy']) { |
| 2583 | 2583 | $out[] = '<div class="form-group form-inline">'; |
| 2584 | 2584 | $out[] = ' <label for="SET[queryGroup]">Group By:</label>'; |
| 2585 | - $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], ''); |
|
| 2585 | + $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], ''); |
|
| 2586 | 2586 | $out[] = '</div>'; |
| 2587 | 2587 | } |
| 2588 | 2588 | if (in_array('order', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableOrderBy']) { |
@@ -2590,20 +2590,20 @@ discard block |
||
| 2590 | 2590 | $orderBy = []; |
| 2591 | 2591 | $orderBy[] = $this->mkTypeSelect('SET[queryOrder]', $orderByArr[0], ''); |
| 2592 | 2592 | $orderBy[] = '<div class="form-check">'; |
| 2593 | - $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"'); |
|
| 2593 | + $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"'); |
|
| 2594 | 2594 | $orderBy[] = ' <label class="form-check-label" for="checkQueryOrderDesc">Descending</label>'; |
| 2595 | 2595 | $orderBy[] = '</div>'; |
| 2596 | 2596 | |
| 2597 | 2597 | if ($orderByArr[0]) { |
| 2598 | 2598 | $orderBy[] = $this->mkTypeSelect('SET[queryOrder2]', $orderByArr[1], ''); |
| 2599 | 2599 | $orderBy[] = '<div class="form-check">'; |
| 2600 | - $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending'; |
|
| 2600 | + $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending'; |
|
| 2601 | 2601 | $orderBy[] = ' <label class="form-check-label" for="checkQueryOrder2Desc">Descending</label>'; |
| 2602 | 2602 | $orderBy[] = '</div>'; |
| 2603 | 2603 | } |
| 2604 | 2604 | $out[] = '<div class="form-group form-inline">'; |
| 2605 | 2605 | $out[] = ' <label>Order By:</label>'; |
| 2606 | - $out[] = implode(LF, $orderBy); |
|
| 2606 | + $out[] = implode(LF, $orderBy); |
|
| 2607 | 2607 | $out[] = '</div>'; |
| 2608 | 2608 | } |
| 2609 | 2609 | if (in_array('limit', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableLimit']) { |
@@ -2637,10 +2637,10 @@ discard block |
||
| 2637 | 2637 | $out[] = '<div class="form-group">'; |
| 2638 | 2638 | $out[] = ' <label>Limit:</label>'; |
| 2639 | 2639 | $out[] = ' <div class="form-inline">'; |
| 2640 | - $out[] = implode(LF, $limit); |
|
| 2640 | + $out[] = implode(LF, $limit); |
|
| 2641 | 2641 | $out[] = ' <div class="btn-group t3js-limit-submit">'; |
| 2642 | - $out[] = $prevButton; |
|
| 2643 | - $out[] = $nextButton; |
|
| 2642 | + $out[] = $prevButton; |
|
| 2643 | + $out[] = $nextButton; |
|
| 2644 | 2644 | $out[] = ' </div>'; |
| 2645 | 2645 | $out[] = ' <div class="btn-group t3js-limit-submit">'; |
| 2646 | 2646 | $out[] = ' <input type="button" class="btn btn-default" data-value="10" value="10">'; |
@@ -1441,7 +1441,7 @@ discard block |
||
| 1441 | 1441 | if (in_array('table', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectATable']) { |
| 1442 | 1442 | $out[] = '<div class="form-group">'; |
| 1443 | 1443 | $out[] = ' <label for="SET[queryTable]">Select a table:</label>'; |
| 1444 | - $out[] = $this->mkTableSelect('SET[queryTable]', $this->table); |
|
| 1444 | + $out[] = $this->mkTableSelect('SET[queryTable]', $this->table); |
|
| 1445 | 1445 | $out[] = '</div>'; |
| 1446 | 1446 | } |
| 1447 | 1447 | if ($this->table) { |
@@ -1481,19 +1481,19 @@ discard block |
||
| 1481 | 1481 | if (in_array('fields', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectFields']) { |
| 1482 | 1482 | $out[] = '<div class="form-group form-group-with-button-addon">'; |
| 1483 | 1483 | $out[] = ' <label for="SET[queryFields]">Select fields:</label>'; |
| 1484 | - $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']); |
|
| 1484 | + $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']); |
|
| 1485 | 1485 | $out[] = '</div>'; |
| 1486 | 1486 | } |
| 1487 | 1487 | if (in_array('query', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableMakeQuery']) { |
| 1488 | 1488 | $out[] = '<div class="form-group">'; |
| 1489 | 1489 | $out[] = ' <label>Make Query:</label>'; |
| 1490 | - $out[] = $queryCode; |
|
| 1490 | + $out[] = $queryCode; |
|
| 1491 | 1491 | $out[] = '</div>'; |
| 1492 | 1492 | } |
| 1493 | 1493 | if (in_array('group', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableGroupBy']) { |
| 1494 | 1494 | $out[] = '<div class="form-group form-inline">'; |
| 1495 | 1495 | $out[] = ' <label for="SET[queryGroup]">Group By:</label>'; |
| 1496 | - $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], ''); |
|
| 1496 | + $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], ''); |
|
| 1497 | 1497 | $out[] = '</div>'; |
| 1498 | 1498 | } |
| 1499 | 1499 | if (in_array('order', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableOrderBy']) { |
@@ -1503,7 +1503,7 @@ discard block |
||
| 1503 | 1503 | $orderBy[] = '<div class="form-check">'; |
| 1504 | 1504 | $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"'); |
| 1505 | 1505 | $orderBy[] = ' <label class="form-check-label" for="checkQueryOrderDesc">'; |
| 1506 | - $orderBy[] = 'Descending'; |
|
| 1506 | + $orderBy[] = 'Descending'; |
|
| 1507 | 1507 | $orderBy[] = ' </label>'; |
| 1508 | 1508 | $orderBy[] = '</div>'; |
| 1509 | 1509 | |
@@ -1512,13 +1512,13 @@ discard block |
||
| 1512 | 1512 | $orderBy[] = '<div class="form-check">'; |
| 1513 | 1513 | $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"'); |
| 1514 | 1514 | $orderBy[] = ' <label class="form-check-label" for="checkQueryOrder2Desc">'; |
| 1515 | - $orderBy[] = 'Descending'; |
|
| 1515 | + $orderBy[] = 'Descending'; |
|
| 1516 | 1516 | $orderBy[] = ' </label>'; |
| 1517 | 1517 | $orderBy[] = '</div>'; |
| 1518 | 1518 | } |
| 1519 | 1519 | $out[] = '<div class="form-group form-inline">'; |
| 1520 | 1520 | $out[] = ' <label>Order By:</label>'; |
| 1521 | - $out[] = implode(LF, $orderBy); |
|
| 1521 | + $out[] = implode(LF, $orderBy); |
|
| 1522 | 1522 | $out[] = '</div>'; |
| 1523 | 1523 | } |
| 1524 | 1524 | if (in_array('limit', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableLimit']) { |
@@ -1552,10 +1552,10 @@ discard block |
||
| 1552 | 1552 | $out[] = '<div class="form-group">'; |
| 1553 | 1553 | $out[] = ' <label>Limit:</label>'; |
| 1554 | 1554 | $out[] = ' <div class="form-inline">'; |
| 1555 | - $out[] = implode(LF, $limit); |
|
| 1555 | + $out[] = implode(LF, $limit); |
|
| 1556 | 1556 | $out[] = ' <div class="btn-group t3js-limit-submit">'; |
| 1557 | - $out[] = $prevButton; |
|
| 1558 | - $out[] = $nextButton; |
|
| 1557 | + $out[] = $prevButton; |
|
| 1558 | + $out[] = $nextButton; |
|
| 1559 | 1559 | $out[] = ' </div>'; |
| 1560 | 1560 | $out[] = ' <div class="btn-group t3js-limit-submit">'; |
| 1561 | 1561 | $out[] = ' <input type="button" class="btn btn-default" data-value="10" value="10">'; |
@@ -117,14 +117,14 @@ discard block |
||
| 117 | 117 | $itemValue = $this->formatValue($format, $itemValue); |
| 118 | 118 | $html = []; |
| 119 | 119 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
| 120 | - $html[] = $fieldInformationHtml; |
|
| 121 | - $html[] = '<div class="form-wizards-wrap">'; |
|
| 122 | - $html[] = '<div class="form-wizards-element">'; |
|
| 123 | - $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; |
|
| 124 | - $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>'; |
|
| 125 | - $html[] = '</div>'; |
|
| 126 | - $html[] = '</div>'; |
|
| 127 | - $html[] = '</div>'; |
|
| 120 | + $html[] = $fieldInformationHtml; |
|
| 121 | + $html[] = '<div class="form-wizards-wrap">'; |
|
| 122 | + $html[] = '<div class="form-wizards-element">'; |
|
| 123 | + $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; |
|
| 124 | + $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>'; |
|
| 125 | + $html[] = '</div>'; |
|
| 126 | + $html[] = '</div>'; |
|
| 127 | + $html[] = '</div>'; |
|
| 128 | 128 | $html[] = '</div>'; |
| 129 | 129 | $resultArray['html'] = implode(LF, $html); |
| 130 | 130 | return $resultArray; |
@@ -193,31 +193,31 @@ discard block |
||
| 193 | 193 | |
| 194 | 194 | $expansionHtml = []; |
| 195 | 195 | $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; |
| 196 | - $expansionHtml[] = '<div class="form-wizards-wrap">'; |
|
| 197 | - $expansionHtml[] = '<div class="form-wizards-element">'; |
|
| 198 | - $expansionHtml[] = '<div class="input-group">'; |
|
| 199 | - $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />'; |
|
| 200 | - $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />'; |
|
| 201 | - $expansionHtml[] = '<span class="input-group-btn">'; |
|
| 202 | - $expansionHtml[] = '<label class="btn btn-default" for="' . $attributes['id'] . '">'; |
|
| 203 | - $expansionHtml[] = $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render(); |
|
| 204 | - $expansionHtml[] = '</label>'; |
|
| 205 | - $expansionHtml[] = '</span>'; |
|
| 206 | - $expansionHtml[] = '</div>'; |
|
| 207 | - $expansionHtml[] = '</div>'; |
|
| 196 | + $expansionHtml[] = '<div class="form-wizards-wrap">'; |
|
| 197 | + $expansionHtml[] = '<div class="form-wizards-element">'; |
|
| 198 | + $expansionHtml[] = '<div class="input-group">'; |
|
| 199 | + $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />'; |
|
| 200 | + $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />'; |
|
| 201 | + $expansionHtml[] = '<span class="input-group-btn">'; |
|
| 202 | + $expansionHtml[] = '<label class="btn btn-default" for="' . $attributes['id'] . '">'; |
|
| 203 | + $expansionHtml[] = $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render(); |
|
| 204 | + $expansionHtml[] = '</label>'; |
|
| 205 | + $expansionHtml[] = '</span>'; |
|
| 206 | + $expansionHtml[] = '</div>'; |
|
| 207 | + $expansionHtml[] = '</div>'; |
|
| 208 | 208 | if (!empty($fieldControlHtml)) { |
| 209 | - $expansionHtml[] = '<div class="form-wizards-items-aside">'; |
|
| 210 | - $expansionHtml[] = '<div class="btn-group">'; |
|
| 211 | - $expansionHtml[] = $fieldControlHtml; |
|
| 212 | - $expansionHtml[] = '</div>'; |
|
| 213 | - $expansionHtml[] = '</div>'; |
|
| 209 | + $expansionHtml[] = '<div class="form-wizards-items-aside">'; |
|
| 210 | + $expansionHtml[] = '<div class="btn-group">'; |
|
| 211 | + $expansionHtml[] = $fieldControlHtml; |
|
| 212 | + $expansionHtml[] = '</div>'; |
|
| 213 | + $expansionHtml[] = '</div>'; |
|
| 214 | 214 | } |
| 215 | 215 | if (!empty($fieldWizardHtml)) { |
| 216 | 216 | $expansionHtml[] = '<div class="form-wizards-items-bottom">'; |
| 217 | 217 | $expansionHtml[] = $fieldWizardHtml; |
| 218 | 218 | $expansionHtml[] = '</div>'; |
| 219 | 219 | } |
| 220 | - $expansionHtml[] = '</div>'; |
|
| 220 | + $expansionHtml[] = '</div>'; |
|
| 221 | 221 | $expansionHtml[] = '</div>'; |
| 222 | 222 | $expansionHtml = implode(LF, $expansionHtml); |
| 223 | 223 | |
@@ -227,11 +227,11 @@ discard block |
||
| 227 | 227 | $fullElement = []; |
| 228 | 228 | $fullElement[] = '<div class="t3-form-field-disable"></div>'; |
| 229 | 229 | $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">'; |
| 230 | - $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />'; |
|
| 231 | - $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />'; |
|
| 232 | - $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">'; |
|
| 233 | - $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox'); |
|
| 234 | - $fullElement[] = '</label>'; |
|
| 230 | + $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />'; |
|
| 231 | + $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />'; |
|
| 232 | + $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">'; |
|
| 233 | + $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox'); |
|
| 234 | + $fullElement[] = '</label>'; |
|
| 235 | 235 | $fullElement[] = '</div>'; |
| 236 | 236 | $fullElement[] = $expansionHtml; |
| 237 | 237 | $fullElement = implode(LF, $fullElement); |
@@ -260,19 +260,19 @@ discard block |
||
| 260 | 260 | } |
| 261 | 261 | $fullElement = []; |
| 262 | 262 | $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">'; |
| 263 | - $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />'; |
|
| 264 | - $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />'; |
|
| 265 | - $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">'; |
|
| 266 | - $fullElement[] = $overrideLabel; |
|
| 267 | - $fullElement[] = '</label>'; |
|
| 263 | + $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />'; |
|
| 264 | + $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />'; |
|
| 265 | + $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">'; |
|
| 266 | + $fullElement[] = $overrideLabel; |
|
| 267 | + $fullElement[] = '</label>'; |
|
| 268 | 268 | $fullElement[] = '</div>'; |
| 269 | 269 | $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">'; |
| 270 | - $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">'; |
|
| 271 | - $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />'; |
|
| 272 | - $fullElement[] = '</div>'; |
|
| 270 | + $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">'; |
|
| 271 | + $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />'; |
|
| 272 | + $fullElement[] = '</div>'; |
|
| 273 | 273 | $fullElement[] = '</div>'; |
| 274 | 274 | $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">'; |
| 275 | - $fullElement[] = $expansionHtml; |
|
| 275 | + $fullElement[] = $expansionHtml; |
|
| 276 | 276 | $fullElement[] = '</div>'; |
| 277 | 277 | $fullElement = implode(LF, $fullElement); |
| 278 | 278 | } |