24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
58 $this->
setStyle(
'table',
'fullwidth');
63 $this->
addColumn($this->lng->txt(
"type"),
'type',
'9%');
64 $this->
addColumn($this->lng->txt(
"file"),
'file',
'40%');
65 $this->
addColumn($this->lng->txt(
"size"),
'size',
'25%');
66 $this->
addColumn($this->lng->txt(
"date"),
'date',
'25%');
71 $this->
addCommandButton(
'cancelDeleteExportFile', $this->lng->txt(
'cancel'));
75 $this->
addMultiCommand(
'downloadExportFile', $this->lng->txt(
'download'));
76 $this->
addMultiCommand(
'confirmDeleteExportFile', $this->lng->txt(
'delete'));
79 $this->
setRowTemplate(
"tpl.scorm2004_export_row.html",
"Modules/Scorm2004");
81 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
95 $this->
enable(
'select_all');
109 if (!$this->confirmdelete)
111 $this->tpl->setCurrentBlock(
'checkbox');
112 $this->tpl->setVariable(
'CB_ID', $this->counter);
114 $this->tpl->setVariable(
"FILETYPE",
$data[
"filetype"]);
115 $this->tpl->parseCurrentBlock();
119 $this->tpl->setCurrentBlock(
'hidden');
122 $this->tpl->parseCurrentBlock();
124 $this->tpl->setVariable(
'CB_ID', $this->counter);
126 $this->tpl->setVariable(
"SIZE",
$data[
"size"]);
127 $this->tpl->setVariable(
"DATE",
$data[
"date"]);
128 $this->tpl->setVariable(
"TYPE",
$data[
"type"]);