39 global
$ilCtrl,
$lng, $ilAccess, $ilias, $ilNavigationHistory;
51 global
$lng, $ilAccess,
$tpl, $ilNavigationHistory;
53 $cmd = $this->ctrl->getCmd();
54 $next_class = $this->ctrl->getNextClass($this);
55 if ($next_class ==
"")
57 $this->ctrl->setCmdClass(
"ilobjwikigui");
58 $next_class = $this->ctrl->getNextClass($this);
62 if ($ilAccess->checkAccess(
"read",
"",
$_GET[
"ref_id"]))
67 if (
$_GET[
"page"] !=
"")
69 $page =
$_GET[
"page"];
73 include_once(
"./Modules/Wiki/classes/class.ilObjWiki.php");
77 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
80 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
82 $add =
"_".rawurlencode($page);
87 $title.=
": ".$ptitle;
89 $append = (
$_GET[
"page"] !=
"")
92 include_once(
'./Services/Link/classes/class.ilLink.php');
96 $ilNavigationHistory->addItem(
$_GET[
"ref_id"],
97 "./goto.php?target=wiki_".
$_GET[
"ref_id"].$add,
"wiki",
98 $title, $page_id, $goto);
105 require_once
"./Modules/Wiki/classes/class.ilObjWikiGUI.php";
107 $this->ctrl->forwardCommand($mc_gui);