4 include_once (
"./Services/COPage/classes/class.ilPageObjectGUI.php");
62 $this->tabs_gui =& $ilTabs;
63 $this->page =& $a_page_object;
64 $this->page_gui =& $a_page_object_gui;
66 $this->ctrl->saveParameter($this, array(
"hier_id",
"pc_id"));
77 $this->header = $a_header;
97 $this->locator =& $a_locator;
105 $this->ctrl->returnToParent($this);
110 $this->int_link_def_type = $a_type;
111 $this->int_link_def_id = $a_id;
116 $this->int_link_return = $a_return;
122 $this->page_back_title = $a_title;
132 $this->enable_internal_links = $a_val;
142 return $this->enable_internal_links;
152 $this->enable_keywords = $a_val;
172 $this->enable_anchors = $a_val;
192 $cmd = $this->ctrl->getCmd(
"displayPage");
193 $cmdClass = strtolower($this->ctrl->getCmdClass());
195 $hier_id =
$_GET[
"hier_id"];
196 $pc_id =
$_GET[
"pc_id"];
197 if(isset(
$_POST[
"new_hier_id"]))
199 $hier_id =
$_POST[
"new_hier_id"];
204 $new_type = (isset(
$_GET[
"new_type"]))
230 if (substr(
$cmd, 0, 5) ==
"exec_")
234 $pca = explode(
":", key(
$_POST[
"cmd"]));
237 $cmd = explode(
"_", $pca[0]);
239 $hier_id = implode(
$cmd,
"_");
244 $first_hier_character = substr($hier_id, 0, 1);
245 if ($first_hier_character ==
"c" ||
246 $first_hier_character ==
"r" ||
247 $first_hier_character ==
"i")
249 $hier_id = substr($hier_id, 1);
251 $this->page->buildDom();
252 $this->page->addHierIDs();
255 if ($cmdClass !=
"ilfilesystemgui")
257 $com = explode(
"_",
$cmd);
262 $next_class = $this->ctrl->getNextClass($this);
266 if ($com[0] ==
"insert" || $com[0] ==
"create")
271 if ($ctype ==
"mob") $ctype =
"media";
276 if (
$cmd ==
"editLinkedMedia")
278 $this->ctrl->setCmd(
"edit");
280 $_GET[
"pgEdMediaMode"] =
"editLinkedMedia";
283 if (
$_GET[
"pgEdMediaMode"] ==
"editLinkedMedia")
285 $this->ctrl->setParameter($this,
"pgEdMediaMode",
"editLinkedMedia");
286 $this->ctrl->setParameter($this,
"mob_id",
$_GET[
"mob_id"]);
287 if ($cmdClass !=
"ilinternallinkgui" && $cmdClass !=
"ilmdeditorgui"
288 && $cmdClass !=
"ilimagemapeditorgui" && $cmdClass !=
"ilfilesystemgui")
290 $this->ctrl->setCmdClass(
"ilobjmediaobjectgui");
291 $cmdClass =
"ilobjmediaobjectgui";
298 echo
";$cmd;".$next_class.
";";
300 echo
"-$cmd-".$this->ctrl->getCmd().
"-";
306 if (
$cmd !=
"insertFromClipboard" &&
$cmd !=
"pasteFromClipboard" &&
307 $cmd !=
"setMediaMode" &&
$cmd !=
"copyLinkedMediaToClipboard" &&
308 $cmd !=
"activatePage" &&
$cmd !=
"deactivatePage" &&
309 $cmd !=
"copyLinkedMediaToMediaPool" &&
$cmd !=
"showSnippetInfo" &&
310 $cmd !=
"deleteSelected" &&
$cmd !=
"paste" &&
311 $cmd !=
"copySelected" &&
$cmd !=
"cutSelected" &&
312 (
$cmd !=
"displayPage" ||
$_POST[
"editImagemapForward_x"] !=
"" ||
$_POST[
"imagemap_x"] !=
"") &&
313 (
$cmd !=
"displayPage" ||
$_POST[
"editImagemapForward_x"] !=
"") &&
314 $cmd !=
"activateSelected" &&
$cmd !=
"assignCharacteristicForm" &&
315 $cmd !=
"assignCharacteristic" &&
316 $cmd !=
"cancelCreate" &&
$cmd !=
"popup" &&
317 $cmdClass !=
"ileditclipboardgui" &&
$cmd !=
"addChangeComment" &&
318 ($cmdClass !=
"ilinternallinkgui" || ($next_class ==
"ilpcmediaobjectgui")))
320 if (
$_GET[
"pgEdMediaMode"] !=
"editLinkedMedia")
324 $cont_obj =& $this->page->getContentObject($hier_id, $pc_id);
327 $ilCtrl->returnToParent($this);
337 if ($ctype !=
"media" || !is_object (
$cont_obj))
341 $this->tpl->setTitle($this->
getHeader());
350 $this->ctrl->setParameter($this,
"hier_id", $hier_id);
351 $this->ctrl->setParameter($this,
"pc_id", $pc_id);
352 $this->ctrl->setCmd(
$cmd);
357 if ($next_class ==
"")
362 $this->ctrl->setCmdClass(
"ilPCSourcecodeGUI");
366 $this->ctrl->setCmdClass(
"ilPCParagraphGUI");
371 $this->ctrl->setCmdClass(
"ilPCTableGUI");
376 $this->ctrl->setCmdClass(
"ilPCDataTableGUI");
380 $this->ctrl->setCmdClass(
"ilPCTableDataGUI");
384 $this->ctrl->setCmdClass(
"ilPCMediaObjectGUI");
388 $this->ctrl->setCmdClass(
"ilPCListGUI");
392 $this->ctrl->setCmdClass(
"ilPCListItemGUI");
396 $this->ctrl->setCmdClass(
"ilPCFileListGUI");
400 $this->ctrl->setCmdClass(
"ilPCFileItemGUI");
404 $this->ctrl->setCmdClass(
"ilPCQuestionGUI");
408 $this->ctrl->setCmdClass(
"ilPCSectionGUI");
412 $this->ctrl->setCmdClass(
"ilPCResourcesGUI");
416 $this->ctrl->setCmdClass(
'ilPCLoginPageElementGUI');
420 $this->ctrl->setCmdClass(
"ilPCMapGUI");
424 $this->ctrl->setCmdClass(
"ilPCTabsGUI");
428 $this->ctrl->setCmdClass(
"ilPCPluggedGUI");
432 $this->ctrl->setCmdClass(
"ilPCPlaceHolderGUI");
436 $this->ctrl->setCmdClass(
"ilPCContentIncludeGUI");
440 $this->ctrl->setCmdClass(
"ilPCInteractiveImageGUI");
444 $this->ctrl->setCmdClass(
"ilPCProfileGUI");
448 $this->ctrl->setCmdClass(
"ilPCVerificationGUI");
452 $this->ctrl->setCmdClass(
"ilPCBlogGUI");
456 $this->ctrl->setCmdClass(
"ilPCQuestionOverviewGUI");
460 $this->ctrl->setCmdClass(
"ilPCSkillsGUI");
464 $next_class = $this->ctrl->getNextClass($this);
468 if (
$cmd ==
"displayPage" &&
$_POST[
"editImagemapForward_x"] ==
"" &&
$_POST[
"imagemap_x"] ==
"")
476 case "ilinternallinkgui":
478 $this->int_link_def_type, $this->int_link_def_id);
479 $link_gui->setMode(
"normal");
480 $link_gui->setFilterWhiteList(
481 $this->page_gui->getPageConfig()->getIntLinkFilterWhiteList());
482 foreach ($this->page_gui->getPageConfig()->getIntLinkFilters() as $filter)
484 $link_gui->filterLinkType($filter);
488 $link_gui->setReturn($this->int_link_return);
489 if ($ilCtrl->isAsynch())
491 $link_gui->setMode(
"asynch");
494 $ret =& $this->ctrl->forwardCommand($link_gui);
498 case "ilpcsourcecodegui":
499 $this->tabs_gui->clearTargets();
500 $ilHelp->setScreenIdComponent(
"copg_code");
501 include_once (
"./Services/COPage/classes/class.ilPCSourcecodeGUI.php");
503 $ret =& $this->ctrl->forwardCommand($src_gui);
507 case "ilpcparagraphgui":
508 $this->tabs_gui->clearTargets();
509 $ilHelp->setScreenIdComponent(
"copg_par");
510 include_once (
"./Services/COPage/classes/class.ilPCParagraphGUI.php");
512 $par_gui->setEnableWikiLinks($this->page_gui->getEnabledWikiLinks());
513 $par_gui->setStyleId($this->page_gui->getStyleId());
517 $ret =& $this->ctrl->forwardCommand($par_gui);
522 $this->tabs_gui->clearTargets();
523 $ilHelp->setScreenIdComponent(
"copg_tab");
524 include_once (
"./Services/COPage/classes/class.ilPCTableGUI.php");
526 $tab_gui->setStyleId($this->page_gui->getStyleId());
527 $ret =& $this->ctrl->forwardCommand($tab_gui);
531 case "ilpctabledatagui":
532 $this->tabs_gui->clearTargets();
533 $ilHelp->setScreenIdComponent(
"copg_td");
534 include_once (
"./Services/COPage/classes/class.ilPCTableDataGUI.php");
536 $ret =& $this->ctrl->forwardCommand($td_gui);
540 case "ilpcdatatablegui":
541 $this->tabs_gui->clearTargets();
542 $ilHelp->setScreenIdComponent(
"copg_dtab");
543 include_once (
"./Services/COPage/classes/class.ilPCDataTableGUI.php");
545 $tab_gui->setStyleId($this->page_gui->getStyleId());
549 $ret =& $this->ctrl->forwardCommand($tab_gui);
553 case "ilpcmediaobjectgui":
554 include_once (
"./Services/COPage/classes/class.ilPCMediaObjectGUI.php");
556 $this->tabs_gui->clearTargets();
557 $this->tabs_gui->setBackTarget($this->page_gui->page_back_title,
558 $ilCtrl->getLinkTarget($this->page_gui,
"edit"));
560 $pcmob_gui->setStyleId($this->page_gui->getStyleId());
561 $pcmob_gui->setEnabledMapAreas($this->page_gui->getEnabledInternalLinks());
562 $ret =& $this->ctrl->forwardCommand($pcmob_gui);
563 $ilHelp->setScreenIdComponent(
"copg_media");
567 case "ilobjmediaobjectgui":
568 $this->tabs_gui->clearTargets();
569 $this->tabs_gui->setBackTarget($this->lng->txt(
"back"),
570 $ilCtrl->getParentReturn($this));
572 $mob_gui->getTabs($this->tabs_gui);
573 $mob_gui->setEnabledMapAreas($this->page_gui->getEnabledInternalLinks());
574 $this->tpl->setTitle($this->lng->txt(
"mob").
": ".
576 $ret =& $this->ctrl->forwardCommand($mob_gui);
581 $this->tabs_gui->clearTargets();
582 $ilHelp->setScreenIdComponent(
"copg_list");
583 include_once (
"./Services/COPage/classes/class.ilPCListGUI.php");
585 $list_gui->setStyleId($this->page_gui->getStyleId());
586 $ret =& $this->ctrl->forwardCommand($list_gui);
590 case "ilpclistitemgui":
591 $this->tabs_gui->clearTargets();
592 $ilHelp->setScreenIdComponent(
"copg_li");
593 include_once (
"./Services/COPage/classes/class.ilPCListItemGUI.php");
596 $ret =& $this->ctrl->forwardCommand($list_item_gui);
600 case "ilpcfilelistgui":
601 $this->tabs_gui->clearTargets();
602 $ilHelp->setScreenIdComponent(
"copg_flst");
603 include_once (
"./Services/COPage/classes/class.ilPCFileListGUI.php");
606 $file_list_gui->setStyleId($this->page_gui->getStyleId());
609 $ret =& $this->ctrl->forwardCommand($file_list_gui);
613 case "ilpcfileitemgui":
614 $this->tabs_gui->clearTargets();
615 $ilHelp->setScreenIdComponent(
"copg_flit");
616 include_once (
"./Services/COPage/classes/class.ilPCFileItemGUI.php");
619 $ret =& $this->ctrl->forwardCommand($file_item_gui);
623 case "ilpcquestiongui":
624 include_once(
"./Services/COPage/classes/class.ilPCQuestionGUI.php");
626 $pc_question_gui->setSelfAssessmentMode($this->page_gui->getEnabledSelfAssessment());
627 $pc_question_gui->setPageConfig($this->page_gui->getPageConfig());
629 if ($this->page_gui->getEnabledSelfAssessment())
631 $this->tabs_gui->clearTargets();
632 $ilHelp->setScreenIdComponent(
"copg_pcqst");
633 $this->tabs_gui->setBackTarget($this->lng->txt(
"back"),
634 $ilCtrl->getParentReturn($this));
635 $ret = $this->ctrl->forwardCommand($pc_question_gui);
639 $cmd = $this->ctrl->getCmd();
640 $pc_question_gui->$cmd();
641 $this->ctrl->redirectByClass(array(
"ilobjquestionpoolgui", get_class(
$cont_obj)),
"editQuestion");
647 case "ilpcplaceholdergui":
648 $this->tabs_gui->clearTargets();
649 $this->tabs_gui->setBackTarget($this->page_gui->page_back_title,
650 $ilCtrl->getLinkTarget($this->page_gui,
"edit"));
651 $ilHelp->setScreenIdComponent(
"copg_plach");
652 include_once (
"./Services/COPage/classes/class.ilPCPlaceHolderGUI.php");
657 $plch_gui->setStyleId($this->page_gui->getStyleId());
658 $ret =& $this->ctrl->forwardCommand($plch_gui);
662 case "ilpcsectiongui":
663 $this->tabs_gui->clearTargets();
664 $ilHelp->setScreenIdComponent(
"copg_sec");
665 include_once (
"./Services/COPage/classes/class.ilPCSectionGUI.php");
667 $sec_gui->setStyleId($this->page_gui->getStyleId());
668 $ret =& $this->ctrl->forwardCommand($sec_gui);
672 case "ilpcresourcesgui":
673 $this->tabs_gui->clearTargets();
674 $ilHelp->setScreenIdComponent(
"copg_repobj");
675 include_once (
"./Services/COPage/classes/class.ilPCResourcesGUI.php");
677 $ret =& $this->ctrl->forwardCommand($res_gui);
681 case 'ilpcloginpageelementgui':
682 $this->tabs_gui->clearTargets();
683 $ilHelp->setScreenIdComponent(
"copg_lpe");
684 include_once
'./Services/COPage/classes/class.ilPCLoginPageElementGUI.php';
686 $ret = $this->ctrl->forwardCommand($res_gui);
691 $this->tabs_gui->clearTargets();
692 $ilHelp->setScreenIdComponent(
"copg_map");
693 include_once (
"./Services/COPage/classes/class.ilPCMapGUI.php");
695 $ret =& $this->ctrl->forwardCommand($map_gui);
700 $this->tabs_gui->clearTargets();
701 $ilHelp->setScreenIdComponent(
"copg_tabs");
702 include_once (
"./Services/COPage/classes/class.ilPCTabsGUI.php");
704 $tabs_gui->setStyleId($this->page_gui->getStyleId());
705 $ret =& $this->ctrl->forwardCommand($tabs_gui);
709 case "ilpcpluggedgui":
710 $this->tabs_gui->clearTargets();
711 include_once (
"./Services/COPage/classes/class.ilPCPluggedGUI.php");
714 $ret =& $this->ctrl->forwardCommand($plugged_gui);
718 case "ilpccontentincludegui":
719 $this->tabs_gui->clearTargets();
720 $ilHelp->setScreenIdComponent(
"copg_incl");
721 include_once (
"./Services/COPage/classes/class.ilPCContentIncludeGUI.php");
723 $ret =& $this->ctrl->forwardCommand($incl_gui);
727 case "ilpcinteractiveimagegui":
728 $this->tabs_gui->clearTargets();
729 $ilHelp->setScreenIdComponent(
"copg_iim");
730 include_once (
"./Services/COPage/classes/class.ilPCInteractiveImageGUI.php");
732 $ret = $this->ctrl->forwardCommand($iim_gui);
736 case "ilpcprofilegui":
737 $this->tabs_gui->clearTargets();
738 $ilHelp->setScreenIdComponent(
"copg_prof");
739 include_once (
"./Services/COPage/classes/class.ilPCProfileGUI.php");
741 $ret = $this->ctrl->forwardCommand($prof_gui);
745 case "ilpcverificationgui":
746 $this->tabs_gui->clearTargets();
747 $ilHelp->setScreenIdComponent(
"copg_vrfc");
748 include_once (
"./Services/COPage/classes/class.ilPCVerificationGUI.php");
750 $ret = $this->ctrl->forwardCommand($vrfc_gui);
755 $this->tabs_gui->clearTargets();
756 $ilHelp->setScreenIdComponent(
"copg_blog");
757 include_once (
"./Services/COPage/classes/class.ilPCBlogGUI.php");
759 $ret = $this->ctrl->forwardCommand($blog_gui);
763 case "ilpcquestionoverviewgui":
764 $this->tabs_gui->clearTargets();
765 $ilHelp->setScreenIdComponent(
"copg_qover");
766 include_once (
"./Services/COPage/classes/class.ilPCQuestionOverviewGUI.php");
768 $ret = $this->ctrl->forwardCommand($qover_gui);
772 case "ilpcskillsgui":
773 $this->tabs_gui->clearTargets();
774 $ilHelp->setScreenIdComponent(
"copg_skills");
775 include_once (
"./Services/COPage/classes/class.ilPCSkillsGUI.php");
777 $ret = $this->ctrl->forwardCommand($skills_gui);
781 if (
$cmd ==
"pasteFromClipboard")
785 else if (
$cmd ==
"paste")
808 if ($ilUser->getPref(
"ilPageEditor_JavaScript") !=
"disable"
823 $version = $ilBrowser->getVersion();
825 if ($ilBrowser->isFirefox() ||
826 ($ilBrowser->isIE() && !$ilBrowser->isMac()) ||
827 ($ilBrowser->isMozilla() && $version[0] >= 5))
836 $this->page_gui->activatePage();
841 $this->page_gui->deactivatePage();
851 $ilUser->writePref(
"ilPageEditor_MediaMode",
$_POST[
"media_mode"]);
852 $ilUser->writePref(
"ilPageEditor_HTMLMode",
$_POST[
"html_mode"]);
853 if ($ilUser->getPref(
"ilPageEditor_JavaScript") !=
$_POST[
"js_mode"])
856 if ($this->page->getParentType() ==
"lm" ||
857 $this->page->getParentType() ==
"dbk")
859 $this->ctrl->setParameterByClass(
"illmpageobjectgui",
"reloadTree",
"y");
862 $ilUser->writePref(
"ilPageEditor_JavaScript",
$_POST[
"js_mode"]);
865 if ($this->page->getParentType() ==
"lm" ||
866 $this->page->getParentType() ==
"dbk")
868 $this->ctrl->redirectByClass(
"illmpageobjectgui",
"edit");
872 $this->ctrl->returnToParent($this);
885 $this->ctrl->returnToParent($this);
895 $this->ctrl->setParameterByClass(
"ilmediapooltargetselector",
"mob_id",
$_POST[
"mob_id"]);
896 $this->ctrl->redirectByClass(
"ilmediapooltargetselector",
"listPools");
904 include_once(
"./Services/History/classes/class.ilHistory.php");
906 "", $this->page->getParentType().
":pg",
909 $this->ctrl->returnToParent($this);
917 if (is_int(strpos(
$_POST[
"target"][0],
";")))
921 if (is_array(
$_POST[
"target"]))
923 $updated = $this->page->deleteContents(
$_POST[
"target"],
true,
924 $this->page_gui->getEnabledSelfAssessment());
925 if($updated !==
true)
934 $this->ctrl->returnToParent($this);
944 if (is_int(strpos(
$_POST[
"target"][0],
";")))
948 if (is_array(
$_POST[
"target"]))
950 $this->page->copyContents(
$_POST[
"target"]);
953 $this->ctrl->returnToParent($this);
963 if (is_int(strpos(
$_POST[
"target"][0],
";")))
967 if (is_array(
$_POST[
"target"]))
969 $updated = $this->page->cutContents(
$_POST[
"target"]);
970 if($updated !==
true)
980 $this->ctrl->returnToParent($this);
989 $this->page->pasteContents($a_hier_id, $this->page_gui->getEnabledSelfAssessment());
990 include_once(
"./Modules/LearningModule/classes/class.ilEditClipboard.php");
992 $this->ctrl->returnToParent($this);
1000 if (is_int(strpos(
$_POST[
"target"][0],
";")))
1004 if (is_array(
$_POST[
"target"]))
1006 $updated = $this->page->switchEnableMultiple(
$_POST[
"target"],
true,
1007 $this->page_gui->getEnabledSelfAssessment());
1008 if($updated !==
true)
1017 $this->ctrl->returnToParent($this);
1027 if (is_int(strpos(
$_POST[
"target"][0],
";")))
1031 if (is_array(
$_POST[
"target"]))
1038 $tarr = explode(
":", $t);
1039 $cont_obj =& $this->page->getContentObject($tarr[0], $tarr[1]);
1042 $types[
"par"] =
"par";
1046 $types[
"sec"] =
"sec";
1050 if (count($types) == 0)
1053 $this->ctrl->returnToParent($this);
1058 $tpl->setContent($this->form->getHTML());
1063 $this->ctrl->returnToParent($this);
1076 include_once(
"./Services/Form/classes/class.ilPropertyFormGUI.php");
1078 $this->form->setTitle($this->lng->txt(
"cont_choose_characteristic"));
1080 if ($a_types[
"par"] ==
"par")
1082 $select_prop =
new ilSelectInputGUI($this->lng->txt(
"cont_choose_characteristic_text"),
1084 include_once(
"./Services/COPage/classes/class.ilPCParagraphGUI.php");
1086 $select_prop->setOptions($options);
1087 $this->form->addItem($select_prop);
1089 if ($a_types[
"sec"] ==
"sec")
1091 $select_prop =
new ilSelectInputGUI($this->lng->txt(
"cont_choose_characteristic_section"),
1093 include_once(
"./Services/COPage/classes/class.ilPCSectionGUI.php");
1095 $select_prop->setOptions($options);
1096 $this->form->addItem($select_prop);
1099 foreach ($a_target as
$t)
1102 $hidden->setValue($t);
1103 $this->form->addItem($hidden);
1106 $this->form->setFormAction($ilCtrl->getFormAction($this));
1107 $this->form->addCommandButton(
"assignCharacteristic", $lng->txt(
"save"));
1108 $this->form->addCommandButton(
"showPage", $lng->txt(
"cancel"));
1119 if (is_array(
$_POST[
"target"]))
1123 $tarr = explode(
":", $t);
1124 $cont_obj =& $this->page->getContentObject($tarr[0], $tarr[1]);
1127 $cont_obj->setCharacteristic($char_par);
1131 $cont_obj->setCharacteristic($char_sec);
1134 $updated = $this->page->update();
1135 if($updated !==
true)
1144 $this->ctrl->returnToParent($this);
1154 $ilCtrl->setParameter($this,
"hier_id", $a_hier_id);
1155 $ilCtrl->setParameterByClass(
"ilEditClipboardGUI",
"returnCommand",
1156 rawurlencode($ilCtrl->getLinkTarget($this,
1157 "insertFromClipboard",
"",
false,
false)));
1159 $ilCtrl->redirectByClass(
"ilEditClipboardGUI",
"getObject");
1167 include_once(
"./Services/Clipboard/classes/class.ilEditClipboardGUI.php");
1169 include_once (
"./Services/COPage/classes/class.ilPCMediaObject.php");
1172 foreach ($ids as $id2)
1174 $id = explode(
":", $id2);
1181 $this->content_obj->createAlias($this->page,
$_GET[
"hier_id"]);
1182 $this->updated = $this->page->update();
1184 if ($type ==
"incl")
1186 include_once(
"./Services/COPage/classes/class.ilPCContentInclude.php");
1188 $this->content_obj->
create($this->page,
$_GET[
"hier_id"]);
1189 $this->content_obj->setContentType(
"mep");
1190 $this->content_obj->setContentId($id);
1191 $this->updated = $this->page->update();
1195 $this->ctrl->returnToParent($this);
1203 $this->ctrl->returnToParent($this);
1211 if(is_object($this->locator))
1213 $this->locator->display();
1224 $stpl =
new ilTemplate(
"tpl.snippet_info.html",
true,
true,
"Services/COPage");
1226 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
1228 foreach ($mep_pools as $mep_id)
1232 foreach ($ref_ids as $rid)
1234 if (!$edit_link && $ilAccess->checkAccess(
"write",
"", $rid))
1236 $stpl->setCurrentBlock(
"edit_link");
1237 $stpl->setVariable(
"TXT_EDIT", $lng->txt(
"edit"));
1238 $stpl->setVariable(
"HREF_EDIT",
1239 "./goto.php?target=mep_".$rid);
1240 $stpl->parseCurrentBlock();
1243 $stpl->setCurrentBlock(
"pool");
1244 $stpl->setVariable(
"TXT_MEDIA_POOL", $lng->txt(
"obj_mep"));
1246 $stpl->parseCurrentBlock();
1249 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolPage.php");
1250 $stpl->setVariable(
"TXT_TITLE", $lng->txt(
"title"));
1252 $stpl->setVariable(
"TXT_BACK", $lng->txt(
"back"));
1253 $stpl->setVariable(
"HREF_BACK",
1254 $ilCtrl->getLinkTargetByClass(
"ilpageobjectgui",
"edit"));
1255 $tpl->setContent($stpl->get());