$mform->setType('phone1', PARAM_CLEAN);
$mform->setAdvanced('phone1');
- $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->setAdvanced('phone2');
$string['personalprofile'] = 'Personal profile';
$string['pictureof'] = 'Picture of $a';
$string['phone'] = 'Phone';
+$string['phone2'] = 'Mobile Phone';
$string['phpinfo'] = 'PHP info';
$string['pleaseclose'] = 'Please close this window now.';
$string['plugincheck'] = 'Plugins check';
'value' => $USER->icq),
'userphone1' => array('langstr' => get_string('phone').' 1',
'value' => $USER->phone1),
- 'userphone2' => array('langstr' => get_string('phone').' 2',
+ 'userphone2' => array('langstr' => get_string('phone2').' 2',
'value' => $USER->phone2),
'userinstitution' => array('langstr' => get_string('institution'),
'value' => $USER->institution),
'value' => $USER->icq),
'userphone1' => array('langstr' => get_string('phone').' 1',
'value' => $USER->phone1),
- 'userphone2' => array('langstr' => get_string('phone').' 2',
+ 'userphone2' => array('langstr' => get_string('phone2').' 2',
'value' => $USER->phone2),
'userinstitution' => array('langstr' => get_string('institution'),
'value' => $USER->institution),
$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"');
print_row(get_string("phone").":", "$user->phone1");
}
if ($user->phone2) {
- print_row(get_string("phone").":", "$user->phone2");
+ print_row(get_string("phone2").":", "$user->phone2");
}
}