MDL-38552 forms: IMS CP content section expanded by default

This commit is contained in:
Frederic Massart 2013-03-20 14:31:33 +08:00
parent 7112729206
commit b7fc9d5a26

View File

@ -49,6 +49,7 @@ class mod_imscp_mod_form extends moodleform_mod {
//-------------------------------------------------------
$mform->addElement('header', 'content', get_string('contentheader', 'imscp'));
$mform->setExpanded('content', true);
$mform->addElement('filepicker', 'package', get_string('packagefile', 'imscp'));
$options = array('-1'=>get_string('all'), '0'=>get_string('no'), '1'=>'1', '2'=>'2', '5'=>'5', '10'=>'10', '20'=>'20');