"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;
+1 -1
View File
@@ -63,7 +63,7 @@ class auth_plugin_base {
*/
var $userfields = array("firstname", "lastname", "email", "phone1", "phone2",
"institution", "department", "address", "city", "country",
"description", "idnumber", "lang");
"description", "idnumber", "lang", "url");
/**