43 $this->
ctrl = $DIC->ctrl();
44 $this->main_tpl =
$DIC->ui()->mainTemplate();
45 $this->
lng = $DIC->language();
46 $this->
toolbar = $DIC->toolbar();
47 $this->media_object = $a_media_object;
49 $this->map =
$DIC->mediaObjects()
54 $this->request =
$DIC->mediaObjects()
70 $cmd = $ilCtrl->getCmd();
72 switch ($next_class) {
73 case "ilinternallinkgui":
75 $link_gui->setSetLinkTargetScript(
76 $ilCtrl->getLinkTarget(
81 $link_gui->filterLinkType(
"File");
82 $ret = $ilCtrl->forwardCommand($link_gui);
87 if ($this->request->getX() !=
"" &&
88 $this->request->getY() !=
"") {
89 $cmd =
"editImagemapForward";
102 $ilCtrl->getLinkTarget(
112 $this->tpl =
new ilTemplate(
"tpl.map_edit.html",
true,
true,
"Services/MediaObjects");
113 $this->tpl->setVariable(
"FORMACTION", $ilCtrl->getFormAction($this));
119 $this->tpl->setVariable(
"IMAGE_MAP", $output);
121 $this->tpl->setVariable(
"TOOLBAR", $this->
getToolbar()->getHTML());
126 return $this->tpl->get();
136 $tb->setFormAction($ilCtrl->getFormAction($this));
138 "WholePicture" =>
$lng->
txt(
"cont_WholePicture"),
139 "Rect" =>
$lng->
txt(
"cont_Rect"),
140 "Circle" =>
$lng->
txt(
"cont_Circle"),
141 "Poly" =>
$lng->
txt(
"cont_Poly"),
144 $si->setOptions($options);
145 $tb->addInputItem($si,
true);
146 $tb->addFormButton(
$lng->
txt(
"cont_add_area"),
"addNewArea");
154 return $lng->
txt(
"cont_imagemap");
160 $image_map_table =
new ilImageMapTableGUI($this,
"editMapAreas", $this->media_object);
161 return $image_map_table->getHTML();
166 if ($this->request->getRefId() > 0) {
167 $this->map->setRefId($this->request->getRefId());
170 if ($this->request->getObjId() > 0) {
171 $this->map->setObjId($this->request->getObjId());
174 if ($this->request->getHierId() !=
"") {
175 $this->map->setHierId($this->request->getHierId());
178 if ($this->request->getPCId() !=
"") {
179 $this->map->setPCId($this->request->getPCId());
185 $item =
new ilMediaItem($this->request->getItemId());
186 $item->outputMapWorkCopy();
194 $st_item = $this->media_object->getMediaItem(
"Standard");
196 for (
$i = 1;
$i <= $max;
$i++) {
199 $this->request->getAreaTitle(
$i)
201 $area->setHighlightMode(
202 $this->request->getAreaHighlightMode(
$i)
204 $area->setHighlightClass(
205 $this->request->getAreaHighlightClass(
$i)
210 $this->main_tpl->setOnScreenMessage(
'success',
$lng->
txt(
"cont_saved_map_data"),
true);
211 $ilCtrl->redirect($this,
"editMapAreas");
216 switch ($this->request->getAreaShape()) {
219 case "Circle":
return $this->
addCircle();
228 $this->map->setAreaType(
"WholePicture");
236 $this->map->setAreaType(
"Rect");
243 $this->map->setAreaType(
"Circle");
250 $this->map->setAreaType(
"Poly");
260 bool $a_handle =
true
268 $area_type = $this->map->getAreaType();
269 $coords = $this->map->getCoords();
273 switch ($area_type) {
276 if ($cnt_coords < 2) {
279 } elseif ($cnt_coords == 2) {
286 if ($cnt_coords <= 1) {
289 if ($cnt_coords == 2) {
290 $c = explode(
",", $coords);
291 $coords =
$c[0] .
"," .
$c[1] .
",";
292 $coords .= round(sqrt(pow(abs(
$c[3] -
$c[1]), 2) + pow(abs(
$c[2] -
$c[0]), 2)));
294 $this->map->setCoords($coords);
302 if ($cnt_coords < 1) {
304 } elseif ($cnt_coords < 3) {
328 bool $a_get_next_coordinate =
false,
329 bool $a_output_new_area =
false,
330 bool $a_save_form =
false,
331 string $a_edit_property =
"",
334 $ilCtrl = $this->
ctrl;
337 $area_type = $this->map->getAreaType();
338 $coords = $this->map->getCoords();
341 $this->tpl =
new ilTemplate(
"tpl.map_edit.html",
true,
true,
"Services/MediaObjects");
343 $this->tpl->setVariable(
"FORMACTION", $ilCtrl->getFormAction($this));
345 if ($a_edit_property !=
"link") {
346 switch ($area_type) {
349 if ($cnt_coords == 0) {
350 $this->main_tpl->setOnScreenMessage(
'info',
$lng->txt(
"cont_click_tl_corner"));
352 if ($cnt_coords == 1) {
353 $this->main_tpl->setOnScreenMessage(
'info',
$lng->txt(
"cont_click_br_corner"));
359 if ($cnt_coords == 0) {
360 $this->main_tpl->setOnScreenMessage(
'info',
$lng->txt(
"cont_click_center"));
362 if ($cnt_coords == 1) {
363 $this->main_tpl->setOnScreenMessage(
'info',
$lng->txt(
"cont_click_circle"));
369 if ($cnt_coords == 0) {
370 $this->main_tpl->setOnScreenMessage(
'info',
$lng->txt(
"cont_click_starting_point"));
371 } elseif ($cnt_coords < 3) {
372 $this->main_tpl->setOnScreenMessage(
'info',
$lng->txt(
"cont_click_next_point"));
374 $this->main_tpl->setOnScreenMessage(
'info',
$lng->txt(
"cont_click_next_or_save"));
383 if ($a_edit_property !=
"shape") {
385 $ilCtrl->setParameter($this,
"linkmode",
"map");
386 $this->tpl->setCurrentBlock(
"int_link_prep");
388 $ilCtrl->getLinkTargetByClass(
396 $this->tpl->parseCurrentBlock();
398 $form = $this->initAreaEditingForm($a_edit_property);
399 $this->tpl->setVariable(
"FORM", $form->getHTML());
402 $this->makeMapWorkCopy(
410 $edit_mode = ($a_get_next_coordinate)
412 : (($a_output_new_area)
415 $output = $this->getImageMapOutput($edit_mode);
416 $this->tpl->setVariable(
"IMAGE_MAP", $output);
418 return $this->tpl->get();
422 string $a_edit_property
427 $form->setOpenTag(
false);
428 $form->setCloseTag(
false);
431 if ($a_edit_property !=
"shape") {
434 if ($this->map->getLinkType() !=
"int") {
435 if ($this->map->getExternalLink() ==
"") {
436 $radg->setValue(
"no");
438 $radg->setValue(
"ext");
441 $radg->setValue(
"int");
446 $radg->addOption($ext);
449 $ti->setMaxLength(800);
451 if ($this->map->getExternalLink() !=
"") {
452 $ti->setValue($this->map->getExternalLink());
454 $ti->setValue(
"https://");
456 $ext->addSubItem($ti);
460 $radg->addOption($int);
464 $int_link = $this->map->getInternalLink();
465 if ($int_link[
"target"] !=
"") {
466 $link_str = $this->getMapAreaLinkString(
469 $int_link[
"target_frame"]
474 ' <a id="iosEditInternalLinkTrigger" href="#">' .
475 "[" .
$lng->txt(
"cont_get_link") .
"]" .
478 $int->addSubItem($ne);
482 $radg->addOption($no);
484 $form->addItem($radg);
489 if ($a_edit_property !=
"link" && $a_edit_property !=
"shape") {
491 $ti->setMaxLength(200);
497 $form->setTitle(
$lng->txt(
"cont_new_area"));
498 $form->addCommandButton(
"saveArea",
$lng->txt(
"save"));
509 string $a_edit_property =
"",
511 bool $a_output_new_area =
false,
512 string $a_area_type =
"",
513 string $a_coords =
""
516 $st_item = $this->media_object->getMediaItem(
"Standard");
518 if ($a_edit_property ==
"shape") {
519 $st_item->makeMapWorkCopy($a_area_nr,
true);
521 $st_item->makeMapWorkCopy($a_area_nr,
false);
524 if ($a_output_new_area) {
525 $st_item->addAreaToMapWorkCopy($a_area_type, $a_coords);
533 string $a_map_edit_mode =
""
535 $ilCtrl = $this->
ctrl;
537 $st_item = $this->media_object->getMediaItem(
"Standard");
541 $xml .= $this->getAliasXML();
543 $xml .= $this->getAdditionalPageXML();
545 $xsl = file_get_contents(
"./Services/COPage/xsl/page.xsl");
547 $args = array(
'/_xml' =>
$xml,
'/_xsl' => $xsl );
553 $random = new \ilRandom();
554 $params = array(
'map_edit_mode' => $a_map_edit_mode,
555 'map_item' => $st_item->getId(),
556 'map_mob_id' => $this->media_object->getId(),
558 'media_mode' =>
'enable',
559 'image_map_link' => $ilCtrl->getLinkTarget($this,
"showImageMap",
"",
false,
false),
560 'link_params' =>
"ref_id=" . $this->request->getRefId() .
"&rand=" . $random->int(1, 999999),
561 'ref_id' => $this->request->getRefId(),
564 'webspace_path' => $wb_path);
565 $output = xslt_process($xh,
"arg:/_xml",
"arg:/_xsl",
null, $args,
$params);
569 $output = $this->outputPostProcessing($output);
608 $t_arr = explode(
"_", $a_target);
609 if ($a_frame !=
"") {
610 $frame_str =
" (" . $a_frame .
" Frame)";
613 case "StructureObject":
615 $link_str =
$lng->txt(
"chapter") .
616 ": " . $title .
" [" . $t_arr[count($t_arr) - 1] .
"]" . $frame_str;
621 $link_str =
$lng->txt(
"page") .
622 ": " . $title .
" [" . $t_arr[count($t_arr) - 1] .
"]" . $frame_str;
627 $link_str =
$lng->txt(
"term") .
628 ": " . $term->getTerm() .
" [" . $t_arr[count($t_arr) - 1] .
"]" . $frame_str;
633 $link_str =
$lng->txt(
"mob") .
634 ": " . $mob->getTitle() .
" [" . $t_arr[count($t_arr) - 1] .
"]" . $frame_str;
637 case "RepositoryItem":
638 if (trim($a_target) !==
"") {
642 $link_str =
$lng->txt(
"obj_" . $t_arr[count($t_arr) - 2]) .
643 ": " . $title .
" [" . $t_arr[count($t_arr) - 1] .
"]" . $frame_str;
651 $wpg =
new ilWikiPage($t_arr[count($t_arr) - 1]);
652 $link_str =
$lng->txt(
"cont_wiki_page") .
653 ": " . $wpg->getTitle() .
" [" . $t_arr[count($t_arr) - 1] .
"]" . $frame_str;
668 $coords = $this->map->getCoords();
673 $this->map->setCoords($coords . $this->request->getX() .
"," .
674 $this->request->getY());
687 $map =
$DIC->mediaObjects()->internal()->domain()->imageMap();
701 $ilCtrl = $this->ctrl;
703 switch ($this->map->getMode()) {
706 $st_item = $this->media_object->getMediaItem(
"Standard");
708 $area =
new ilMapArea($st_item->getId(), $this->map->getAreaNr());
710 if ($this->request->getAreaLinkType() ==
IL_INT_LINK) {
712 $int_link = $this->map->getInternalLink();
713 $area->setType($int_link[
"type"] ??
"");
714 $area->setTarget($int_link[
"target"] ??
"");
715 $area->setTargetFrame($int_link[
"target_frame"] ??
"");
718 if ($this->request->getAreaLinkType() !=
IL_NO_LINK) {
720 $this->request->getExternalLink()
731 $st_item = $this->media_object->getMediaItem(
"Standard");
735 $this->map->getAreaNr()
738 $area->setShape($this->map->getAreaType());
739 $area->setCoords($this->map->getCoords());
745 $area_type = $this->map->getAreaType();
746 $coords = $this->map->getCoords();
748 $st_item = $this->media_object->getMediaItem(
"Standard");
753 $area->setItemId($st_item->getId());
754 $area->setShape($area_type);
755 $area->setCoords($coords);
756 $area->setNr($max + 1);
757 $area->setTitle($this->request->getAreaName());
758 switch ($this->request->getAreaLinkType()) {
761 $area->setHref($this->request->getExternalLink());
766 $int_link = $this->map->getInternalLink();
767 $area->setType($int_link[
"type"] ??
"");
768 $area->setTarget($int_link[
"target"] ??
"");
769 $area->setTargetFrame($int_link[
"type_frame"] ??
"");
774 $st_item->addMapArea($area);
775 $this->media_object->update();
780 $this->main_tpl->setOnScreenMessage(
'success',
$lng->txt(
"cont_saved_map_area"),
true);
781 $ilCtrl->redirect($this,
"editMapAreas");
787 $this->map->setLinkType(
"int");
788 $this->map->setInternalLink(
789 $this->request->getLinkType(),
790 $this->request->getLinkTarget(),
791 $this->request->getLinkTargetFrame(),
792 $this->request->getLinkAnchor()
795 switch ($this->map->getMode()) {
797 return $this->setLink();
800 return $this->addArea();
805 bool $a_handle =
true
808 $ilCtrl = $this->ctrl;
811 $this->handleMapParameters();
813 if ($this->map->getAreaNr() > 0) {
814 $area_nr = $this->map->getAreaNr();
816 $area = $this->request->getArea();
817 $area_nr = (
int) ($area[0] ?? 0);
819 if ($area_nr === 0) {
820 $this->main_tpl->setOnScreenMessage(
'failure',
$lng->txt(
"no_checkbox"),
true);
821 $ilCtrl->redirect($this,
"editMapAreas");
824 if (count($area ?? []) > 1) {
825 $this->main_tpl->setOnScreenMessage(
'failure',
$lng->txt(
"cont_select_max_one_item"),
true);
826 $ilCtrl->redirect($this,
"editMapAreas");
830 if ($this->map->getMode() !=
"edit_link") {
831 $this->map->setAreaNr($area_nr);
832 $this->map->setLinkType($this->getLinkTypeOfArea($area_nr));
833 $this->map->setMode(
"edit_link");
834 $this->map->setTargetScript($ilCtrl->getLinkTarget($this,
"setLink"));
836 $this->map->setInternalLink(
837 $this->getTypeOfArea($area_nr),
838 $this->getTargetOfArea($area_nr),
839 $this->getTargetFrameOfArea($area_nr),
843 $this->map->setExternalLink($this->getHrefOfArea($area_nr));
847 return $this->editMapArea(
false,
false,
true,
"link", $area_nr);
853 $st_item = $this->media_object->getMediaItem(
"Standard");
854 $area = $st_item->getMapArea($a_nr);
855 return $area->getLinkType();
864 $st_item = $this->media_object->getMediaItem(
"Standard");
865 $area = $st_item->getMapArea($a_nr);
866 return $area->getType();
875 $st_item = $this->media_object->getMediaItem(
"Standard");
876 $area = $st_item->getMapArea($a_nr);
877 return $area->getTarget();
886 $st_item = $this->media_object->getMediaItem(
"Standard");
887 $area = $st_item->getMapArea($a_nr);
888 return $area->getTargetFrame();
897 $st_item = $this->media_object->getMediaItem(
"Standard");
898 $area = $st_item->getMapArea($a_nr);
899 return $area->getHref();
907 $ilCtrl = $this->ctrl;
910 $area = $this->request->getArea();
911 if (count($area) == 0) {
912 $this->main_tpl->setOnScreenMessage(
'failure',
$lng->txt(
"no_checkbox"),
true);
913 $ilCtrl->redirect($this,
"editMapAreas");
916 $st_item = $this->media_object->getMediaItem(
"Standard");
919 if (count($area) > 0) {
922 foreach ($area as $area_nr) {
923 $st_item->deleteMapArea($area_nr -
$i);
927 $this->media_object->update();
928 $this->main_tpl->setOnScreenMessage(
'success',
$lng->txt(
"cont_areas_deleted"),
true);
931 $ilCtrl->redirect($this,
"editMapAreas");
940 return $this->setLink(
false);
948 $this->clearSessionVars();
949 $this->map->setAreaType(
"WholePicture");
950 return $this->setShape(
false);
958 $this->clearSessionVars();
959 $this->map->setAreaType(
"Rect");
960 return $this->setShape(
false);
968 $this->clearSessionVars();
969 $this->map->setAreaType(
"Circle");
970 return $this->setShape(
false);
978 $this->clearSessionVars();
979 $this->map->setAreaType(
"Poly");
980 return $this->setShape(
false);
987 bool $a_handle =
true
990 $ilCtrl = $this->ctrl;
994 $this->handleMapParameters();
1000 if ($this->map->getAreaNr() > 0) {
1001 $area_nr = $this->map->getAreaNr();
1003 $area = $this->request->getArea();
1004 $area_nr = (
int) ($area[0] ?? 0);
1006 if ($area_nr === 0) {
1007 $this->main_tpl->setOnScreenMessage(
'failure',
$lng->txt(
"no_checkbox"),
true);
1008 $ilCtrl->redirect($this,
"editMapAreas");
1011 if (count($area ?? []) > 1) {
1012 $this->main_tpl->setOnScreenMessage(
'failure',
$lng->txt(
"cont_select_max_one_item"),
true);
1013 $ilCtrl->redirect($this,
"editMapAreas");
1016 if ($this->map->getMode() !=
"edit_shape") {
1017 $this->map->setAreaNr($area_nr);
1018 $this->map->setMode(
"edit_shape");
1019 $this->map->setTargetScript(
1020 $ilCtrl->getLinkTarget($this,
"setShape",
"",
false,
false)
1025 $area_type = $this->map->getAreaType();
1026 $coords = $this->map->getCoords();
1030 switch ($area_type) {
1033 if ($cnt_coords < 2) {
1034 return $this->editMapArea(
true,
false,
false,
"shape", $area_nr);
1035 } elseif ($cnt_coords == 2) {
1036 return $this->saveArea();
1042 if ($cnt_coords <= 1) {
1043 return $this->editMapArea(
true,
false,
false,
"shape", $area_nr);
1045 if ($cnt_coords == 2) {
1046 $c = explode(
",", $coords);
1047 $coords =
$c[0] .
"," .
$c[1] .
",";
1048 $coords .= round(sqrt(pow(abs(
$c[3] -
$c[1]), 2) + pow(abs(
$c[2] -
$c[0]), 2)));
1050 $this->map->setCoords($coords);
1051 return $this->saveArea();
1057 if ($cnt_coords < 1) {
1058 return $this->editMapArea(
true,
false,
false,
"shape", $area_nr);
1059 } elseif ($cnt_coords < 3) {
1060 return $this->editMapArea(
true,
true,
false,
"shape", $area_nr);
1062 return $this->editMapArea(
true,
true,
true,
"shape", $area_nr);
1067 case "WholePicture":
1068 return $this->saveArea();
1078 $ilCtrl = $this->ctrl;
1081 $st_item = $this->media_object->getMediaItem(
"Standard");
1087 $this->main_tpl->setOnScreenMessage(
'success',
$lng->txt(
"msg_obj_modified"),
true);
1088 $ilCtrl->redirect($this,
"editMapAreas");
Class ilCtrl provides processing control methods.
getNextClass($a_gui_class=null)
@inheritDoc
setTargetScript(string $a_target_script)
@inheritDoc
static getWebspaceDir(string $mode="filesystem")
get webspace directory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
User interface class for map editor.
__construct(ilObjMediaObject $a_media_object)
getHrefOfArea(int $a_nr)
Get Href of Area (only external link)
static _recoverParameters()
Recover parameters from session variables (static)
getTargetFrameOfArea(int $a_nr)
Get TargetFrame of Area (only internal link)
editImagemapForward()
Get image map coordinates.
getTargetOfArea(int $a_nr)
Get Target of Area (only internal link)
ilObjMediaObject $media_object
deleteAreas()
Delete map areas.
initAreaEditingForm(string $a_edit_property)
ilGlobalTemplateInterface $main_tpl
editMapArea(bool $a_get_next_coordinate=false, bool $a_output_new_area=false, bool $a_save_form=false, string $a_edit_property="", int $a_area_nr=0)
Edit a single map area.
editLink()
Edit existing link.
setLink(bool $a_handle=true)
setShape(bool $a_handle=true)
edit shape of existing map area
getAdditionalPageXML()
Get additional page xml (to be overwritten)
addArea(bool $a_handle=true)
setHighlight()
Set highlight settings.
editShapeWholePicture()
Edit an existing shape (make it a whole picture link)
getMapAreaLinkString(string $a_target, string $a_type, string $a_frame)
Get text name of internal link.
getLinkTypeOfArea(int $a_nr)
getImageMapOutput(string $a_map_edit_mode="")
Render the image map.
editShapeRectangle()
Edit an existing shape (make it a rectangle)
ImageMapGUIRequest $request
saveArea()
Save new or updated map area.
getTypeOfArea(int $a_nr)
Get Type of Area (only internal link)
makeMapWorkCopy(string $a_edit_property="", int $a_area_nr=0, bool $a_output_new_area=false, string $a_area_type="", string $a_coords="")
Make work file for editing.
editShapePolygon()
Edit an existing shape (make it a polygon)
editShapeCircle()
Edit an existing shape (make it a circle)
outputPostProcessing(string $a_output)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInitHTML(string $a_url)
Get initialisation HTML to use internal link editing.
static _lookupTitle(int $a_obj_id)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static _getMaxNr(int $a_item_id)
get maximum nr of media item (static)
static countCoords(string $c)
count the number of coordinates (x,y) in a coordinate string (format: "x1,y1,x2,y2,...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
special template class to simplify handling of ITX/PEAR
This class represents a text property in a property form.
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
static redirect(string $a_script)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!file_exists(getcwd() . '/ilias.ini.php'))
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
return['3gp', '7z', 'ai', 'aif', 'aifc', 'aiff', 'au', 'arw', 'avi', 'backup', 'bak', 'bas', 'bpmn', 'bpmn2', 'bmp', 'bib', 'bibtex', 'bz', 'bz2', 'c', 'c++', 'cc', 'cct', 'cdf', 'cer', 'class', 'cls', 'conf', 'cpp', 'crt', 'crs', 'crw', 'cr2', 'css', 'cst', 'csv', 'cur', 'db', 'dcr', 'des', 'dng', 'doc', 'docx', 'dot', 'dotx', 'dtd', 'dvi', 'el', 'eps', 'epub', 'f', 'f77', 'f90', 'flv', 'for', 'g3', 'gif', 'gl', 'gan', 'ggb', 'gsd', 'gsm', 'gtar', 'gz', 'gzip', 'h', 'hpp', 'htm', 'html', 'htmls', 'ibooks', 'ico', 'ics', 'ini', 'ipynb', 'java', 'jbf', 'jpeg', 'jpg', 'js', 'jsf', 'jso', 'json', 'latex', 'lang', 'less', 'log', 'lsp', 'ltx', 'm1v', 'm2a', 'm2v', 'm3u', 'm4a', 'm4v', 'markdown', 'm', 'mat', 'md', 'mdl', 'mdown', 'mid', 'min', 'midi', 'mobi', 'mod', 'mov', 'movie', 'mp2', 'mp3', 'mp4', 'mpa', 'mpeg', 'mpg', 'mph', 'mpga', 'mpp', 'mpt', 'mpv', 'mpx', 'mv', 'mw', 'mv4', 'nb', 'nbp', 'nef', 'nif', 'niff', 'obj', 'obm', 'odt', 'ods', 'odp', 'odg', 'odf', 'oga', 'ogg', 'ogv', 'old', 'p', 'pas', 'pbm', 'pcl', 'pct', 'pcx', 'pdf', 'pgm', 'pic', 'pict', 'png', 'por', 'pov', 'project', 'properties', 'ppa', 'ppm', 'pps', 'ppsx', 'ppt', 'pptx', 'ppz', 'ps', 'psd', 'pwz', 'qt', 'qtc', 'qti', 'qtif', 'r', 'ra', 'ram', 'rar', 'rast', 'rda', 'rev', 'rexx', 'ris', 'rf', 'rgb', 'rm', 'rmd', 'rmi', 'rmm', 'rmp', 'rt', 'rtf', 'rtx', 'rv', 's', 's3m', 'sav', 'sbs', 'sec', 'sdml', 'sgm', 'sgml', 'smi', 'smil', 'srt', 'sps', 'spv', 'stl', 'svg', 'swa', 'swf', 'swz', 'tar', 'tex', 'texi', 'texinfo', 'text', 'tgz', 'tif', 'tiff', 'ttf', 'txt', 'tmp', 'uvproj', 'vdf', 'vimeo', 'viv', 'vivo', 'vrml', 'vsdx', 'wav', 'webm', 'wmv', 'wmx', 'wmz', 'woff', 'wwd', 'xhtml', 'xif', 'xls', 'xlsx', 'xmind', 'xml', 'xsl', 'xsd', 'zip']
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params