Commit 1f09d0c9 authored by Wouter Wolters's avatar Wouter Wolters Committed by Markus Klein
Browse files

[TASK] Fix aligning of checkbox is_public in sys_file_storage

Add missing div with class checkbox on it.

Resolves: #69479
Releases: master
Change-Id: I4ded4b2052f102ad14d16aac78707d95a757da6d
Reviewed-on: http://review.typo3.org/42984

Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
parent 51bb498d
......@@ -71,8 +71,12 @@ class UserStorageCapabilityService {
protected function renderFileInformationContent(array $fileRecord, $isPublic) {
$template = '
<div class="t3-form-field-item">
<div class="checkbox">
<label>
<input class="checkbox" value="1" name="data[sys_file_storage][{uid}][is_public]_0" type="checkbox" %s>
</label>
</div>
<input name="data[sys_file_storage][{uid}][is_public]" value="0" type="hidden">
<input class="checkbox" value="1" name="data[sys_file_storage][{uid}][is_public]_0" type="checkbox" %s>
</div>';
$content = sprintf($template,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment