24 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
45 $lng->loadLanguageModule(
"mep");
48 $this->
addColumn($lng->txt(
"mep_thumbnail"),
"",
"1");
49 $this->
addColumn($lng->txt(
"mep_title_and_description"),
"",
"100%");
53 "Services/Clipboard");
57 $this->
setTitle($lng->txt(
"clipboard"),
"icon_clip.gif", $lng->txt(
"clipboard"));
62 if ($this->parent_obj->mode ==
"getObject")
64 $this->
addMultiCommand(
"insert", $this->parent_obj->getInsertButtonTitle());
78 $objs = $ilUser->getClipboardObjects(
"mob");
94 $med = $mob->getMediaItem(
"Standard");
95 $target = $med->getThumbnailTarget();
98 $this->tpl->setCurrentBlock(
"thumbnail");
99 $this->tpl->setVariable(
"IMG_THUMB", $target);
100 $this->tpl->parseCurrentBlock();
104 if ($this->parent_obj->mode !=
"getObject")
107 $this->tpl->setCurrentBlock(
"edit");
108 $ilCtrl->setParameter($this->parent_obj,
"clip_mob_id", $a_set[
"id"]);
109 $this->tpl->setVariable(
"EDIT_LINK",
110 $ilCtrl->getLinkTargetByClass(
"ilObjMediaObjectGUI",
"edit",
111 array(
"ilEditClipboardGUI")));
112 $this->tpl->setVariable(
"TEXT_OBJECT", $a_set[
"title"].
113 " [".$a_set[
"id"].
"]");
114 $this->tpl->parseCurrentBlock();
118 $this->tpl->setCurrentBlock(
"show");
119 $this->tpl->setVariable(
"TEXT_OBJECT2", $a_set[
"title"].
120 " [".$a_set[
"id"].
"]");
121 $this->tpl->parseCurrentBlock();
124 include_once(
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
125 $this->tpl->setVariable(
"MEDIA_INFO",
127 $this->tpl->setVariable(
"CHECKBOX_ID", $a_set[
"id"]);