Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cf33f5
)
MDL-22574, use filepicker to impot users in admin
author
Dongsheng Cai
<unoter@gmail.com>
Fri, 4 Jun 2010 04:08:56 +0000
(
04:08
+0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Fri, 4 Jun 2010 04:08:56 +0000
(
04:08
+0000)
admin/uploaduser_form.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/uploaduser_form.php
b/admin/uploaduser_form.php
index
892e718
..
88a1ced
100644
(file)
--- a/
admin/uploaduser_form.php
+++ b/
admin/uploaduser_form.php
@@
-12,11
+12,9
@@
class admin_uploaduser_form1 extends moodleform {
$mform =& $this->_form;
- $this->set_upload_manager(new upload_manager('userfile', false, false, null, false, 0, true, true, false));
-
$mform->addElement('header', 'settingsheader', get_string('upload'));
- $mform->addElement('file
', 'userfile', get_string('file'), 'size="40"'
);
+ $mform->addElement('file
picker', 'userfile', get_string('file')
);
$mform->addRule('userfile', null, 'required');
$choices = csv_import_reader::get_delimiter_list();