11 $uiFactory = $DIC->ui()->factory();
12 $renderer = $DIC->ui()->renderer();
14 $uploadUrl =
$_SERVER[
'REQUEST_URI'] .
'&example=2';
16 $content = $uiFactory->dropzone()->file()->standard($uploadUrl);
17 $panel = $uiFactory->panel()->standard(
"Panel Titel", $content);
19 $upload = $uiFactory->dropzone()->file()->wrapper($uploadUrl, $panel)
21 ->withFileSizeLimit(
new \
ILIAS\Data\DataSize(300 * 1000, \
ILIAS\Data\DataSize::KB));
23 return $renderer->render($upload);
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']