MDL-30637 mod_folder: Make content section expanded

This just makes the interface better
This commit is contained in:
Ruslan Kabalin 2013-02-07 14:23:26 +00:00
parent 9d2a7df11b
commit 8763343ad9

View File

@ -49,6 +49,8 @@ class mod_folder_mod_form extends moodleform_mod {
//-------------------------------------------------------
$mform->addElement('header', 'content', get_string('contentheader', 'folder'));
$mform->addElement('filemanager', 'files', get_string('files'), null, array('subdirs'=>1, 'accepted_types'=>'*'));
$mform->setExpanded('content');
//-------------------------------------------------------
$this->standard_coursemodule_elements();