3 declare(strict_types=1);
17 $factory = $DIC->ui()->factory();
19 $request = $DIC->http()->request();
20 $wrapper = $DIC->http()->wrapper()->query();
22 $submit_flag =
'dropzone_standard_bulky';
23 $post_url =
"{$request->getUri()}&$submit_flag";
26 ->dropzone()->file()->standard(
27 'Upload your files here',
28 'Drag files in here to upload them!',
30 $factory->input()->field()->file(
37 $factory->button()->shy(
'Upload files',
'#')
42 if ($wrapper->has($submit_flag)) {
43 $dropzone = $dropzone->withRequest($request);
44 $data = $dropzone->getData();
46 $data =
'no results yet.';
49 return '<pre>' . print_r(
$data,
true) .
'</pre>' .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
bulky()
expected output: > ILIAS shows a base file upload field with a larger height.