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:
f495510
)
MDL-51290 user: Expand picture section in profile by default
author
Cameron Ball
<cameron@moodle.com>
Wed, 9 Sep 2015 02:55:15 +0000
(10:55 +0800)
committer
Cameron Ball
<cameron@moodle.com>
Mon, 14 Sep 2015 09:49:48 +0000
(17:49 +0800)
user/editlib.php
patch
|
blob
|
blame
|
history
diff --git
a/user/editlib.php
b/user/editlib.php
index
836b12b
..
a03c925
100644
(file)
--- a/
user/editlib.php
+++ b/
user/editlib.php
@@
-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')));