mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-61453-master-userpicturefiletype' of git://github.com/mudrd8mz/moodle
This commit is contained in:
commit
9f4e81a81b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class admin_uploadpicture_form extends moodleform {
|
||||||
|
|
||||||
|
|
||||||
$options = array();
|
$options = array();
|
||||||
$options['accepted_types'] = array('archive');
|
$options['accepted_types'] = array('.zip');
|
||||||
$mform->addElement('filepicker', 'userpicturesfile', get_string('file'), 'size="40"', $options);
|
$mform->addElement('filepicker', 'userpicturesfile', get_string('file'), 'size="40"', $options);
|
||||||
$mform->addRule('userpicturesfile', null, 'required');
|
$mform->addRule('userpicturesfile', null, 'required');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue