diff --git a/mod/folder/mod_form.php b/mod/folder/mod_form.php index 706fd94aeb2..a110ea7e367 100644 --- a/mod/folder/mod_form.php +++ b/mod/folder/mod_form.php @@ -45,8 +45,7 @@ class mod_folder_mod_form extends moodleform_mod { //------------------------------------------------------- $mform->addElement('header', 'content', get_string('contentheader', 'folder')); - $mform->addElement('static', 'note', '', '(TODO: This filemanager does not support subdirectories yet, sorry...)'); - $mform->addElement('filemanager', 'files', get_string('files')); + $mform->addElement('filemanager', 'files', get_string('files'), null, array('subdirs'=>1, 'filetypes'=>'*', 'returnvalue'=>'ref_id')); //------------------------------------------------------- $this->standard_coursemodule_elements();