MDL-51290 user: Expand picture section in profile by default

This commit is contained in:
Cameron Ball
2015-09-14 17:49:48 +08:00
parent f495510548
commit 80ef91effa
+1
View File
@@ -366,6 +366,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
if (empty($USER->newadminuser)) {
$mform->addElement('header', 'moodle_picture', get_string('pictureofuser'));
$mform->setExpanded('moodle_picture', true);
if (!empty($CFG->enablegravatar)) {
$mform->addElement('html', html_writer::tag('p', get_string('gravatarenabled')));