mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-13151 add a new language string: phone2, thanks for your idea, Jams Ballard.
This commit is contained in:
parent
6f87ef52b9
commit
55ac3d6f21
6 changed files with 6 additions and 5 deletions
|
@ -262,7 +262,7 @@ function useredit_shared_definition(&$mform) {
|
|||
$mform->addElement('text', 'phone1', get_string('phone'), 'maxlength="20" size="25"');
|
||||
$mform->setType('phone1', PARAM_CLEAN);
|
||||
|
||||
$mform->addElement('text', 'phone2', get_string('phone'), 'maxlength="20" size="25"');
|
||||
$mform->addElement('text', 'phone2', get_string('phone2'), 'maxlength="20" size="25"');
|
||||
$mform->setType('phone2', PARAM_CLEAN);
|
||||
|
||||
$mform->addElement('text', 'address', get_string('address'), 'maxlength="70" size="25"');
|
||||
|
|
|
@ -244,7 +244,7 @@
|
|||
print_row(get_string("phone").":", "$user->phone1");
|
||||
}
|
||||
if ($user->phone2) {
|
||||
print_row(get_string("phone").":", "$user->phone2");
|
||||
print_row(get_string("phone2").":", "$user->phone2");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue