mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-51290 user: Expand picture section in profile by default
This commit is contained in:
parent
e494078a27
commit
eddc63f4e8
1 changed files with 1 additions and 0 deletions
|
@ -269,6 +269,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null, $filemanager
|
|||
|
||||
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')));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue