예제 #1
0
 function view()
 {
     global $tree, $ilUser, $ilCtrl, $lng, $tpl, $ilToolbar;
     include_once "./Services/UIComponent/Button/classes/class.ilLinkButton.php";
     $but = ilLinkButton::getInstance();
     $but->setUrl($ilCtrl->getLinkTargetByClass("ilobjmediaobjectgui", "create"));
     $but->setCaption("cont_create_mob");
     $ilToolbar->addButtonInstance($but);
     include_once "./Services/Clipboard/classes/class.ilClipboardTableGUI.php";
     $table_gui = new ilClipboardTableGUI($this, "view");
     $tpl->setContent($table_gui->getHTML());
 }
 function view()
 {
     global $tree, $ilUser, $ilCtrl, $lng, $tpl;
     $tpl->addBlockfile("BUTTONS", "buttons", "tpl.buttons.html");
     $tpl->setCurrentBlock("btn_cell");
     $tpl->setVariable("BTN_LINK", $ilCtrl->getLinkTargetByClass("ilobjmediaobjectgui", "create"));
     $tpl->setVariable("BTN_TXT", $lng->txt("cont_create_mob"));
     $tpl->parseCurrentBlock();
     include_once "./Services/Clipboard/classes/class.ilClipboardTableGUI.php";
     $table_gui = new ilClipboardTableGUI($this, "view");
     $tpl->setContent($table_gui->getHTML());
 }