"MDL-12405, add webpage to user fields"
This commit is contained in:
@@ -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
@@ -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");
|
||||
|
||||
/**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user