MDL-22574, filepicker conversion for user and group settings

This commit is contained in:
Dongsheng Cai 2010-06-11 05:10:12 +00:00
parent 246a9b05ba
commit 92b143f145
2 changed files with 2 additions and 2 deletions

View file

@ -245,7 +245,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null) {
$mform->addElement('checkbox', 'deletepicture', get_string('delete'));
$mform->setDefault('deletepicture',false);
$mform->addElement('file', 'imagefile', get_string('newpicture'));
$mform->addElement('filepicker', 'imagefile', get_string('newpicture'));
$mform->addHelpButton('imagefile', 'newpicture');
$mform->addElement('text', 'imagealt', get_string('imagealt'), 'maxlength="100" size="30"');