From 6b3c4d65c77a1963d202a575486dae8a8e1ee361 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Thu, 8 Oct 2009 07:05:48 +0000 Subject: [PATCH] "MDL-20073, remove the static text" --- mod/folder/mod_form.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();