13 include_once(
"./classes/class.ilExplorer.php");
32 $this->force_open_path = array();
33 if (
$_GET[
"ref_id"] > 0)
35 $this->force_open_path = $tree->getPathId(
$_GET[
"ref_id"]);
47 $this->content_gui = $a_val;
62 $this->selectable_types = $a_types;
67 $this->ref_id = $a_ref_id;
87 global $ilUser, $ilAccess;
89 if ($a_type ==
"mep" &&
90 $ilAccess->checkAccess(
"write",
"", $a_ref_id))
109 if ($ilAccess->checkAccess(
"read",
"", $a_ref_id))
131 $tpl->setCurrentBlock(
"icon");
133 $tpl->setVariable(
"TXT_ALT_IMG", $lng->txt(
"repository"));
134 $tpl->parseCurrentBlock();
136 $tpl->setCurrentBlock(
"text");
137 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
138 $tpl->parseCurrentBlock();
143 $tpl->touchBlock(
"element");
152 if (in_array($a_obj_id, $this->force_open_path))