56 $this->headericon = $a_headericon;
66 return $this->headericon;
76 $this->link_title = $a_val;
86 return $this->link_title;
96 $this->items = $a_val;
136 $this->selectionheaderclass = $a_selectionheaderclass;
146 return $this->selectionheaderclass;
156 $this->form_cmd = $a_val;
166 return $this->form_cmd;
176 $this->field_var = $a_val;
186 return $this->field_var;
196 $this->hidden_var = $a_val;
206 return $this->hidden_var;
217 $GLOBALS[
"tpl"]->addJavascript(
"./Services/UIComponent/CheckboxListOverlay/js/ilCheckboxListOverlay.js");
219 include_once(
"./Services/UIComponent/Overlay/classes/class.ilOverlayGUI.php");
221 $overlay->setAnchor(
"ilChkboxListAnchorEl_".$this->
getId());
222 $overlay->setTrigger(
"ilChkboxListTrigger_".$this->
getId());
226 $tpl =
new ilTemplate(
"tpl.checkbox_list_overlay.html",
true,
true,
227 "Services/UIComponent/CheckboxListOverlay",
"DEFAULT",
false,
true);
229 $tpl->setCurrentBlock(
"top_img");
233 $tpl->setVariable(
"IMG_DOWN",
237 $tpl->setVariable(
"IMG_DOWN",
246 $tpl->setVariable(
"ALT_SEL_TOP",
"");
248 $tpl->parseCurrentBlock();
251 foreach (
$items as $k => $v)
253 $tpl->setCurrentBlock(
"list_entry");
255 $tpl->setVariable(
"VAL_ENTRY", $k);
256 $tpl->setVariable(
"TXT_ENTRY", $v[
"txt"]);
259 $tpl->setVariable(
"CHECKED",
"checked='checked'");
261 $tpl->parseCurrentBlock();
264 if ($this->
getUrl() !=
"")
266 $tpl->setVariable(
"ONCLICK",
267 "onclick=\"return ilCheckboxListOverlay.save('".
273 $tpl->setVariable(
"VAL_SUBMIT", $lng->txt(
"refresh"));