MDL-13151 add a new language string: phone2, thanks for your idea, Jams Ballard.

This commit is contained in:
dongsheng 2008-03-26 02:58:16 +00:00
parent 6f87ef52b9
commit 55ac3d6f21
6 changed files with 6 additions and 5 deletions

View file

@ -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"');

View file

@ -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");
}
}