"MDL-12405, add webpage to user fields"

This commit is contained in:
dongsheng
2008-05-28 01:36:21 +00:00
parent 50f45baff1
commit 55d89d4337
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -136,10 +136,11 @@ function print_auth_lock_options ($auth, $user_fields, $helptext, $retrieveopts,
$fieldname = get_string('language');
} elseif (preg_match('/^(.+?)(\d+)$/', $fieldname, $matches)) {
$fieldname = get_string($matches[1]) . ' ' . $matches[2];
} elseif ($fieldname == 'url') {
$fieldname = get_string('webpage');
} else {
$fieldname = get_string($fieldname);
}
}
if ($retrieveopts) {
$varname = 'field_map_' . $field;