4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
25 $data = array(
"page_id" => 0) +
32 $this->
addColumn($this->lng->txt(
"wiki_ordering"),
"order");
33 $this->
addColumn($this->lng->txt(
"wiki_indentation"));
34 $this->
addColumn($this->lng->txt(
"wiki_page"));
42 $this->
addMultiCommand(
"confirmRemoveImportantPages", $lng->txt(
"remove"));
43 $this->
addCommandButton(
"saveOrderingAndIndent", $lng->txt(
"wiki_save_ordering_and_indent"));
53 if ($a_set[
"page_id"] > 0)
55 $this->tpl->setCurrentBlock(
"cb");
56 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"page_id"]);
57 $this->tpl->parseCurrentBlock();
59 $this->tpl->setCurrentBlock(
"ord");
60 $this->tpl->setVariable(
"PAGE_ID_ORD", $a_set[
"page_id"]);
61 $this->tpl->setVariable(
"VAL_ORD", $a_set[
"ord"]);
62 $this->tpl->parseCurrentBlock();
64 $this->tpl->setVariable(
"PAGE_TITLE",
66 $this->tpl->setVariable(
"SEL_INDENT",
68 array(0 =>
"0", 1 =>
"1", 2 =>
"2"),
false,
true));
72 $this->tpl->setVariable(
"PAGE_TITLE",
73 $lng->txt(
"wiki_start_page"));