5 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
 
   26                 $lng->loadLanguageModule(
"mep");
 
   29                 $this->
addColumn($lng->txt(
"mep_thumbnail"), 
"", 
"1");
 
   30                 $this->
addColumn($lng->txt(
"mep_title_and_description"), 
"", 
"100%");
 
   34                         "Services/Clipboard");
 
   38                 $this->
setTitle($lng->txt(
"clipboard"), 
"icon_clip.gif", $lng->txt(
"clipboard"));
 
   43                 if ($this->parent_obj->mode == 
"getObject")
 
   45                         $this->
addMultiCommand(
"insert", $this->parent_obj->getInsertButtonTitle());
 
   59                 $objs = $ilUser->getClipboardObjects(
"mob");
 
   60                 $objs2 = $ilUser->getClipboardObjects(
"incl");
 
   61                 $objs = array_merge($objs, $objs2);
 
   75                 if ($a_set[
"type"] == 
"mob")
 
   79                         $med = $mob->getMediaItem(
"Standard");
 
   80                         $target = $med->getThumbnailTarget();
 
   83                                 $this->tpl->setCurrentBlock(
"thumbnail");
 
   84                                 $this->tpl->setVariable(
"IMG_THUMB", $target);
 
   85                                 $this->tpl->parseCurrentBlock();
 
   88                 else if ($a_set[
"type"] == 
"incl")
 
   90                         $this->tpl->setCurrentBlock(
"thumbnail");
 
   91                         $this->tpl->setVariable(
"IMG_THUMB",
 
   93                         $this->tpl->parseCurrentBlock();
 
   97                 if ($this->parent_obj->mode != 
"getObject" && $a_set[
"type"] == 
"mob")
 
  100                         $this->tpl->setCurrentBlock(
"edit");
 
  101                         $ilCtrl->setParameter($this->parent_obj, 
"clip_item_id", $a_set[
"id"]);
 
  102                         $ilCtrl->setParameterByClass(
"ilObjMediaObjectGUI", 
"clip_item_id", $a_set[
"id"]);
 
  103                         $this->tpl->setVariable(
"EDIT_LINK",
 
  104                                 $ilCtrl->getLinkTargetByClass(
"ilObjMediaObjectGUI", 
"edit",
 
  105                                         array(
"ilEditClipboardGUI")));
 
  106                         $this->tpl->setVariable(
"TEXT_OBJECT", $a_set[
"title"].
 
  107                                 " [".$a_set[
"id"].
"]");
 
  108                         $this->tpl->parseCurrentBlock();
 
  112                         $this->tpl->setCurrentBlock(
"show");
 
  113                         $this->tpl->setVariable(
"TEXT_OBJECT2", $a_set[
"title"].
 
  114                                 " [".$a_set[
"id"].
"]");
 
  115                         $this->tpl->parseCurrentBlock();
 
  118                 include_once(
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
 
  119                 if ($a_set[
"type"] == 
"mob")
 
  121                         $this->tpl->setVariable(
"MEDIA_INFO",
 
  124                 $this->tpl->setVariable(
"CHECKBOX_ID", $a_set[
"type"].
":".$a_set[
"id"]);