User profile: fixing user picture fieldset legend
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 3 May 2010 17:17:56 +0000 (17:17 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 3 May 2010 17:17:56 +0000 (17:17 +0000)
lang/en/moodle.php
user/editlib.php

index a2fde3b..73b2c27 100644 (file)
@@ -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';
index c7f000a..d6a8bfd 100644 (file)
@@ -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'));