24 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
26 define (
"IL_WIKI_ALL_PAGES",
"all");
27 define (
"IL_WIKI_NEW_PAGES",
"new");
28 define (
"IL_WIKI_POPULAR_PAGES",
"popular");
29 define (
"IL_WIKI_WHAT_LINKS_HERE",
"what_links");
30 define (
"IL_WIKI_ORPHANED_PAGES",
"orphaned");
49 $this->pg_list_mode = $a_mode;
50 $this->wiki_id = $a_wiki_id;
51 $this->page_id = $a_page_id;
53 switch($this->pg_list_mode)
56 $this->
addColumn($lng->txt(
"created"),
"",
"33%");
57 $this->
addColumn($lng->txt(
"wiki_page"),
"",
"33%");
58 $this->
addColumn($lng->txt(
"wiki_created_by"),
"",
"34%");
64 $this->
addColumn($lng->txt(
"wiki_page"),
"",
"50%");
65 $this->
addColumn($lng->txt(
"wiki_page_hits"),
"",
"50%");
71 $this->
addColumn($lng->txt(
"wiki_page"),
"",
"100%");
77 $this->
addColumn($lng->txt(
"wiki_page"),
"",
"33%");
78 $this->
addColumn($lng->txt(
"wiki_last_changed"),
"",
"33%");
79 $this->
addColumn($lng->txt(
"wiki_last_changed_by"),
"",
"34%");
88 switch($this->pg_list_mode)
91 $this->
setTitle(sprintf($lng->txt(
"wiki_what_links_to_page"),
96 $this->
setTitle($lng->txt(
"wiki_".$a_mode.
"_pages"));
106 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
111 switch ($this->pg_list_mode)
143 if ($a_field ==
"cnt")
160 $this->tpl->setVariable(
"TXT_PAGE_TITLE", $a_set[
"title"]);
161 $this->tpl->setVariable(
"DATE",
166 $this->tpl->setVariable(
"TXT_PAGE_TITLE", $a_set[
"title"]);
167 $this->tpl->setVariable(
"HITS", $a_set[
"cnt"]);
171 $this->tpl->setVariable(
"TXT_PAGE_TITLE", $a_set[
"title"]);
172 $this->tpl->setVariable(
"DATE",
175 $this->tpl->setVariable(
"HREF_PAGE",
179 include_once(
"./Services/User/classes/class.ilUserUtil.php");
180 $this->tpl->setVariable(
"TXT_USER",
182 $ilCtrl->getLinkTarget($this->getParentObject(), $this->
getParentCmd())