4 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
21 $this->
setTitle($lng->txt(
"content_page_history"));
25 $this->
addColumn($lng->txt(
"date"),
"",
"33%");
26 $this->
addColumn($lng->txt(
"user"),
"",
"33%");
27 $this->
addColumn($lng->txt(
"action"),
"",
"33%");
29 $this->
setRowTemplate(
"tpl.page_history_row.html",
"Services/COPage");
32 $this->
addMultiCommand(
"compareVersion", $lng->txt(
"cont_page_compare"));
43 if ($a_field ==
"sortkey")
61 $ilCtrl->setParameter($this->
getParentObject(),
"old_nr", $a_set[
"nr"]);
62 $this->tpl->setCurrentBlock(
"command");
63 $this->tpl->setVariable(
"TXT_COMMAND", $lng->txt(
"cont_rollback"));
64 $this->tpl->setVariable(
"HREF_COMMAND",
65 $ilCtrl->getLinkTarget($this->getParentObject(),
"rollbackConfirmation"));
66 $this->tpl->parseCurrentBlock();
72 $this->tpl->setVariable(
"RSELECT",
'checked="checked"');
73 $this->rselect =
true;
75 else if (!$this->lselect)
77 $this->tpl->setVariable(
"LSELECT",
'checked="checked"');
78 $this->lselect =
true;
82 $this->tpl->setVariable(
"NR", $a_set[
"nr"]);
83 $this->tpl->setVariable(
"TXT_HDATE",
86 $ilCtrl->setParameter($this->
getParentObject(),
"old_nr", $a_set[
"nr"]);
87 $this->tpl->setVariable(
"HREF_OLD_PAGE",
88 $ilCtrl->getLinkTarget($this->getParentObject(),
"preview"));
95 $this->tpl->setVariable(
"TXT_LINKED_USER",
96 $user[
"lastname"].
", ".$user[
"firstname"].
" [".$login.
"]");
99 $ilCtrl->setParameterByClass(
"ilpublicuserprofilegui",
"user", $a_set[
"user"]);
100 $ilCtrl->setParameterByClass(
"ilpublicuserprofilegui",
"back_url",
101 rawurlencode($ilCtrl->getLinkTarget($this->getParentObject(), $this->
getParentCmd())));
102 $this->tpl->setVariable(
"USER_LINK",
103 $ilCtrl->getLinkTargetByClass(
"ilpublicuserprofilegui",
"getHTML"));
105 $this->tpl->setVariable(
"IMG_USER",
$img);