5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
24 $this->
setId(
"help_mods");
28 $this->
setTitle($lng->txt(
"help_modules"));
31 $this->
addColumn($this->lng->txt(
"title"));
32 $this->
addColumn($this->lng->txt(
"help_imported_on"));
33 $this->
addColumn($this->lng->txt(
"actions"));
36 $this->
setRowTemplate(
"tpl.help_module_row.html",
"Services/Help");
38 $this->
addMultiCommand(
"confirmHelpModulesDeletion", $lng->txt(
"delete"));
47 $this->
setData($this->parent_obj->object->getHelpModules());
57 $ilCtrl->setParameter($this->parent_obj,
"hm_id", $a_set[
"id"]);
58 if ($a_set[
"id"] == $ilSetting->get(
"help_module"))
60 $this->tpl->setCurrentBlock(
"cmd");
61 $this->tpl->setVariable(
"HREF_CMD",
62 $ilCtrl->getLinkTarget($this->parent_obj,
"deactivateModule"));
63 $this->tpl->setVariable(
"TXT_CMD", $lng->txt(
"deactivate"));
64 $this->tpl->parseCurrentBlock();
68 $this->tpl->setCurrentBlock(
"cmd");
69 $this->tpl->setVariable(
"HREF_CMD",
70 $ilCtrl->getLinkTarget($this->parent_obj,
"activateModule"));
71 $this->tpl->setVariable(
"TXT_CMD", $lng->txt(
"activate"));
72 $this->tpl->parseCurrentBlock();
74 $ilCtrl->setParameter($this->parent_obj,
"hm_id",
"");
75 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
76 $this->tpl->setVariable(
"CREATION_DATE",
78 $this->tpl->setVariable(
"ID", $a_set[
"id"]);