From 757e89d2914b91591d031165094d74117014bc57 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Mon, 3 May 2010 17:17:56 +0000 Subject: [PATCH] User profile: fixing user picture fieldset legend --- lang/en/moodle.php | 1 + user/editlib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index a2fde3bec49..73b2c27357b 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1312,6 +1312,7 @@ $string['phone'] = 'Phone'; $string['phone2'] = 'Mobile Phone'; $string['phpinfo'] = 'PHP info'; $string['pictureof'] = 'Picture of {$a}'; +$string['pictureofuser'] = 'User picture'; $string['pleaseclose'] = 'Please close this window now.'; $string['pleasesearchmore'] = 'Please search some more'; $string['pleaseusesearch'] = 'Please use the search'; diff --git a/user/editlib.php b/user/editlib.php index c7f000a7463..d6a8bfd42aa 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -233,7 +233,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null) { $mform->setHelpButton('description_editor', array('text2', get_string('helptext'))); if (!empty($CFG->gdversion)) { - $mform->addElement('header', 'moodle_picture', get_string('pictureof'));//TODO: Accessibility fix fieldset legend + $mform->addElement('header', 'moodle_picture', get_string('pictureofuser')); $mform->addElement('static', 'currentpicture', get_string('currentpicture')); -- 2.43.0