mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Added new help file for authentication-method changing
This commit is contained in:
parent
f012487bec
commit
e671b64e11
@ -123,7 +123,7 @@ $string['authenticationoptions'] = 'Authentication options';
|
||||
$string['authinstructions'] = 'Here you can provide instructions for your users, so they know which username and password they should be using. The text you enter here will appear on the login page. If you leave this blank then no instructions will be printed.';
|
||||
$string['changepassword'] = 'Change password URL';
|
||||
$string['changepasswordhelp'] = 'Here you can specify a location at which your users can recover or change their username/password if they\'ve forgotten it. This will be provided to users as a button on the login page and their user page. if you leave this blank the button will not be printed.';
|
||||
$string['chooseauthmethod'] = 'Choose an authentication method: ';
|
||||
$string['chooseauthmethod'] = 'Choose an authentication method';
|
||||
$string['forcechangepassword'] = 'Force change password';
|
||||
$string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';
|
||||
$string['forcechangepasswordfirst_help'] = 'Force users to change password on their first login to Moodle.';
|
||||
|
@ -11,6 +11,9 @@
|
||||
if (!isset($user->theme)) {
|
||||
$user->theme = '';
|
||||
}
|
||||
if (!isset($user->trackforums)) {
|
||||
$user->trackforums = 0;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -43,8 +46,9 @@ if (isadmin()) {
|
||||
}
|
||||
if (!$adminself) { /// Main admin is ALWAYS default manual
|
||||
echo '<tr>';
|
||||
echo '<th>'.get_string("chooseauthmethod","auth").'</th>' . "\n<td>";
|
||||
choose_from_menu ($auth_options, "auth", $user->auth);
|
||||
echo '<th>'.get_string("chooseauthmethod","auth").':</th>' . "\n<td>";
|
||||
choose_from_menu ($auth_options, 'auth', $user->auth);
|
||||
helpbutton('authchange', get_string('chooseauthmethod', 'auth'));
|
||||
echo "</td></tr>\n";
|
||||
}
|
||||
|
||||
@ -153,8 +157,8 @@ if (isadmin()) {
|
||||
<th><?php print_string("trackforums") ?>:</th>
|
||||
<td><?php
|
||||
unset($choices);
|
||||
$choices["1"] = get_string("trackforumsyes");
|
||||
$choices["0"] = get_string("trackforumsno");
|
||||
$choices["1"] = get_string("trackforumsyes");
|
||||
choose_from_menu ($choices, "trackforums", $user->trackforums, "") ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user