filemanager MDL-16597 Removed TODO notices in preparation for Dongsheng's checkin soon

This commit is contained in:
moodler 2009-09-17 06:54:01 +00:00
parent ac310b3a7e
commit 438c2bfa68

View File

@ -56,10 +56,8 @@ class mod_resource_mod_form extends moodleform_mod {
//-------------------------------------------------------
$mform->addElement('header', 'contentsection', get_string('contentheader', 'resource'));
$mform->addElement('static', 'note', '', '<i>(TODO: This filemanager + textfield is temporary until we create new file manager with main file support.)</i>');
$options = array('mainfile'=>'id_mainfile', 'subdirs'=>0, 'maxbytes'=>0, 'maxfiles'=>-1, 'filetypes'=>'*', 'returnvalue'=>'*');
$mform->addElement('filemanager', 'files', get_string('file'), null, $options);
$mform->addElement('static', 'notex', '', '<i>(TODO: Ignore main file when uploading only one file, if multiple files present use "/myfile.ext" to specify the main file.)</i>');
$mform->addElement('text', 'mainfile', 'Main file');
//-------------------------------------------------------
$mform->addElement('header', 'optionssection', get_string('optionsheader', 'resource'));