improved accessibility of user edit page - adding help icons, removing incorrect static help from interest, improving interests strings

This commit is contained in:
skodak
2007-09-16 09:39:03 +00:00
parent a0478c0a18
commit 1c54b2bb31
3 changed files with 9 additions and 5 deletions
+3 -2
View File
@@ -223,8 +223,9 @@ function useredit_shared_definition(&$mform) {
if( !empty($CFG->usetags)) {
$mform->addElement('header', 'moodle_interests', get_string('interests'));
$mform->addElement('static', 'helptextinterests', '' , get_string('enteryourinterests'));
$mform->addElement('textarea', 'interests', get_string('interests'), 'cols="45" rows="3"');
$mform->addElement('textarea', 'interests', get_string('interestslist'), 'cols="45" rows="3"');
$mform->setHelpButton('interests', array(false, get_string('helpinterestslist'),
false, true, false, get_string('helpinterestslist')));
}
/// Moodle optional fields