mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-14635 fix user profil help icons, merged from 19
This commit is contained in:
parent
4e2d013f06
commit
ab50ec1215
@ -35,14 +35,11 @@ class user_editadvanced_form extends moodleform {
|
||||
$mform->setAdvanced('auth');
|
||||
|
||||
$mform->addElement('passwordunmask', 'newpassword', get_string('newpassword'), 'size="20"');
|
||||
$mform->setHelpButton('newpassword', array(false, get_string('leavetokeep'),
|
||||
false, true, false, get_string('leavetokeep')));
|
||||
$mform->setHelpButton('newpassword',array('newpassword', get_string('leavetokeep')));
|
||||
$mform->setType('newpassword', PARAM_RAW);
|
||||
|
||||
$mform->addElement('advcheckbox', 'preference_auth_forcepasswordchange', get_string('forcepasswordchange'));
|
||||
$mform->setHelpButton('preference_auth_forcepasswordchange', array(false, get_string('forcepasswordchangehelp'),
|
||||
false, true, false, get_string('forcepasswordchangehelp')));
|
||||
|
||||
$mform->setHelpButton('preference_auth_forcepasswordchange',array('forcepasswordchange', get_string('forcepasswordchange')));
|
||||
/// shared fields
|
||||
useredit_shared_definition($mform);
|
||||
|
||||
|
@ -224,8 +224,8 @@ function useredit_shared_definition(&$mform) {
|
||||
if ( !empty($CFG->usetags) && has_capability('moodle/tag:create', get_context_instance(CONTEXT_SYSTEM)) ) {
|
||||
$mform->addElement('header', 'moodle_interests', get_string('interests'));
|
||||
$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')));
|
||||
$mform->setHelpButton('interests', array('interestslist', get_string('helpinterestslist'),
|
||||
false, true, false));
|
||||
}
|
||||
|
||||
/// Moodle optional fields
|
||||
|
Loading…
x
Reference in New Issue
Block a user