3 declare(strict_types=1);
12 $renderer = $DIC->ui()->renderer();
13 $request = $DIC->http()->request();
16 ->dropzone()->file()->standard(
17 'Upload your files here',
18 'Drag files in here to upload them!',
25 $factory->button()->shy(
'Upload files',
'#')
30 if (
'POST' === $request->getMethod()) {
31 $dropzone = $dropzone->withRequest($request);
32 $data = $dropzone->getData();
34 $data =
'no results yet.';
37 return '<pre>' . print_r(
$data,
true) .
'</pre>' .
38 $renderer->render($dropzone);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...