]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-20073, remove the static text"
authordongsheng <dongsheng>
Thu, 8 Oct 2009 07:05:48 +0000 (07:05 +0000)
committerdongsheng <dongsheng>
Thu, 8 Oct 2009 07:05:48 +0000 (07:05 +0000)
mod/folder/mod_form.php

index 706fd94aeb23993456bb6b857e6ff00e7175a016..a110ea7e367da52a4605611e027c518337436b68 100644 (file)
@@ -45,8 +45,7 @@ class mod_folder_mod_form extends moodleform_mod {
 
         //-------------------------------------------------------
         $mform->addElement('header', 'content', get_string('contentheader', 'folder'));
-        $mform->addElement('static', 'note', '', '<i>(TODO: This filemanager does not support subdirectories yet, sorry...)</i>');
-        $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();