4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
25 $this->upload_dir = trim($mset->get(
"upload_dir"));
30 $this->
setTitle($lng->txt(
"mep_upload_dir_files"));
34 $this->
addColumn($this->lng->txt(
"mep_file"));
39 $this->
setRowTemplate(
"tpl.upload_dir_files_row.html",
"Modules/MediaPool");
44 $this->
addMultiCommand(
"createMediaFromUploadDir", $lng->txt(
"mep_create_media_files"));
54 foreach ($a_files as $f)
56 if (is_file($this->upload_dir.
"/".$f))
60 else if (is_dir($this->upload_dir.
"/".$f))
65 if ($d[
"type"] ==
"file")
67 $files[] = $f.$d[
"subdir"].
"/".$d[
"entry"];
83 $this->tpl->setVariable(
"TXT_FILE", $a_set);
84 $this->tpl->setVariable(
"VAL_FILE", $a_set);