4 include_once(
"./Services/Form/classes/class.ilCustomInputGUI.php");
5 include_once(
"./Services/Form/classes/class.ilSubEnabledFormPropertyGUI.php");
6 include_once(
'./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php');
48 $tpl->addJavaScript(
'./Modules/DataCollection/js/ilDclTreeSearch.js');
50 $this->title_input->setDisabled(
true);
51 $this->title_input->setInfo($lng->txt(
"dcl_ilias_refere nce_info"));
52 $this->title_input->setInlineStyle(
'width: 98%; display:inline-block;');
54 $this->search_input->setDisabled(
false);
55 $this->search_input->setInfo($lng->txt(
'dcl_ilias_reference_info'));
56 $this->search_input->setInlineStyle(
'width: 98%; margin-top: 5px;');
67 $tpl =
new ilTemplate(
"tpl.dcl_tree.html",
true,
true,
"Modules/DataCollection");
69 $tpl->setVariable(
"AJAX_LINK", $ilCtrl->getLinkTargetByClass(
"ildatacollectionrecordeditgui",
"searchObjects"));
71 $out = $this->title_input->getToolbarHTML();
73 $out .= $this->search_input->getTableFilterHTML();
74 $out .= $this->hidden_input->getToolbarHTML();
75 $out .=
"<a href='#' id='search_button_" . $this->
getPostVar() .
"'>" . $this->lng->txt(
'search') .
"</a>";
87 include_once
'./Services/Tree/classes/class.ilPathGUI.php';
91 $pathString =
$path->getPath(ROOT_FOLDER_ID, $reference);
94 $this->hidden_input->setValue($reference);