From: dongsheng Date: Thu, 8 Oct 2009 07:05:48 +0000 (+0000) Subject: "MDL-20073, remove the static text" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6b3c4d65c77a1963d202a575486dae8a8e1ee361;p=moodle.git "MDL-20073, remove the static text" --- diff --git a/mod/folder/mod_form.php b/mod/folder/mod_form.php index 706fd94aeb..a110ea7e36 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();