From: Benni Mack Date: Mon, 17 Dec 2018 08:08:40 +0000 (+0100) Subject: [BUGFIX] Streamline UX for File Upload module X-Git-Tag: v10.0.0~842 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/38b35b68cadc9822a21b68db7621520df22c5fb8 [BUGFIX] Streamline UX for File Upload module When using the file upload module (called via File list), the dialog uses non-bootstrap classes from historical times back in the day. Using proper HTML makes the view look more like the rest of TYPO3 Backend. Resolves: #87178 Releases: master, 9.5 Change-Id: I4d6a4c8f96414d5fb776270db6ef8aa677e788b7 Reviewed-on: https://review.typo3.org/59175 Tested-by: TYPO3com Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Markus Klein Tested-by: Markus Klein --- diff --git a/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php b/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php index e49ed7954a23..8e83722d35c0 100644 --- a/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php +++ b/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php @@ -232,31 +232,22 @@ class FileUploadController */ protected function renderUploadFormInternal(): string { - // Make checkbox for "overwrite" $content = ' -
-

-

' . htmlspecialchars($this->getLanguageService()->getLL('uploadMultipleFilesInfo')) . '

-
- '; - // Produce the number of upload-fields needed: - $content .= ' -
- '; - // Adding 'size="50" ' for the sake of Mozilla! - $content .= ' - +
+ -
- '; - $content .= ' +
- '; - // Submit button: - $content .= ' -
-
- +
+ +
+
+ + +
+
+ ' . htmlspecialchars($this->getLanguageService()->getLL('uploadMultipleFilesInfo')) . '
';