24 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
43 $this->wiki_id = $a_wiki_id;
47 $this->
addColumn($lng->txt(
"wiki_contributor"),
"",
"33%");
48 $this->
addColumn($lng->txt(
"wiki_page_changes"),
"",
"33%");
49 $this->
addColumn($lng->txt(
"wiki_grading"),
"",
"33%");
55 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject(),
"saveGrading"));
58 $this->
setTitle($lng->txt(
"wiki_contributors"));
66 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
81 include_once(
"./Services/Tracking/classes/class.ilLPMarks.php");
82 include_once(
"./Modules/Wiki/classes/class.ilWikiContributor.php");
86 arsort($a_set[
"pages"]);
89 foreach ($a_set[
"pages"] as $page_id => $cnt)
93 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
95 $this->tpl->setCurrentBlock(
"page");
96 $this->tpl->setVariable(
"PAGE",
$title);
97 $this->tpl->setVariable(
"CNT", $cnt);
98 $this->tpl->parseCurrentBlock();
102 $this->tpl->setVariable(
"TXT_LINKED_USER",
103 $user[
"lastname"].
", ".$user[
"firstname"].
" [".$login.
"]");
112 $this->tpl->setVariable(
"IMG_USER",
$img);
113 $this->tpl->setVariable(
"TXT_NAME",
114 $a_set[
"lastname"].
", ".$a_set[
"firstname"]);
115 $this->tpl->setVariable(
"USER_ID", $a_set[
"user_id"]);
118 $this->tpl->setVariable(
"TXT_LCOMMENT", $lng->txt(
"wiki_comment_for_learner"));
119 $this->tpl->setVariable(
"NAME_LCOMMENT",
120 "lcomment[".$a_set[
"user_id"].
"]");
122 $this->parent_obj->object->getId());
123 $this->tpl->setVariable(
"VAL_LCOMMENT",
129 $this->tpl->setVariable(
"SEL_".$status,
' selected="selected" ');
130 $this->tpl->setVariable(
"TXT_NOTGRADED", $lng->txt(
"wiki_notgraded"));
131 $this->tpl->setVariable(
"TXT_PASSED", $lng->txt(
"wiki_passed"));
132 $this->tpl->setVariable(
"TXT_FAILED", $lng->txt(
"wiki_failed"));
138 $this->tpl->setCurrentBlock(
"status_date");
139 $this->tpl->setVariable(
"TXT_LAST_CHANGE", $lng->txt(
"last_change"));
140 $this->tpl->setVariable(
"VAL_STATUS_DATE",
142 $this->tpl->parseCurrentBlock();
148 default: $pic =
"scorm/not_attempted.png";
break;
151 $this->tpl->setVariable(
"ALT_STATUS", $lng->txt(
"wiki_".$status));
154 $this->tpl->setVariable(
"TXT_MARK", $lng->txt(
"wiki_mark"));
155 $this->tpl->setVariable(
"NAME_MARK",
156 "mark[".$a_set[
"user_id"].
"]");
159 $this->tpl->setVariable(
"VAL_MARK",