4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 function __construct($a_parent_obj, $a_parent_cmd, $a_exc, $a_ass_id)
24 $this->exercise = $a_exc;
25 $this->ass_id = $a_ass_id;
26 $this->exc_id = $a_exc->getId();
28 include_once(
"./Modules/Exercise/classes/class.ilExAssignment.php");
33 $this->
setTitle($this->lng->txt(
"already_delivered_files").
" - ".
34 $this->ass->getTitle());
37 $this->
addColumn($this->lng->txt(
""),
"",
"1", 1);
38 $this->
addColumn($this->lng->txt(
"filename"),
"filetitle");
43 $this->lng->loadLanguageModule(
"file");
44 $this->
addColumn($this->lng->txt(
"file_uploaded_by"));
45 include_once
"Services/User/classes/class.ilUserUtil.php";
48 $this->
addColumn($this->lng->txt(
"date"),
"timestamp14");
54 $this->
setRowTemplate(
"tpl.delivered_file_row.html",
"Modules/Exercise");
58 if (mktime() < $this->ass->getDeadline() || ($this->ass->getDeadline() == 0))
87 $this->tpl->setVariable(
"FILE_ID",
$file[
"returned_id"]);
88 $this->tpl->setVariable(
"DELIVERED_FILE",
$file[
"filetitle"]);
95 $this->tpl->setVariable(
"DELIVERED_OWNER",