mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
The login page now shows different instructions depending on the
authentication mechanism.
This commit is contained in:
parent
faebaf0f40
commit
8f1cba2858
@ -237,6 +237,10 @@ $string['loginsteps'] = "Hi! For full access to courses you'll need to take
|
||||
to enter your personal username and password (in the form on this page)
|
||||
to log in and access any course you have enrolled in.
|
||||
</OL>";
|
||||
$string['loginstepsnone'] = "Hi!<P>For full access to courses you'll need to create
|
||||
yourself an account.<P>All you need to do is make up a username and password and use it in
|
||||
the form on this page!<P>If someone else has already chosen your username
|
||||
then you'll have to try again using a different username.";
|
||||
$string['logout'] = "Logout";
|
||||
$string['logs'] = "Logs";
|
||||
$string['makeafolder'] = "Make a folder";
|
||||
|
@ -60,13 +60,24 @@
|
||||
</FONT> </TD>
|
||||
<TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellheading?>">
|
||||
<FONT SIZE=2>
|
||||
<P><? print_string("loginsteps", "", "signup.php") ?></P>
|
||||
</FONT>
|
||||
<CENTER>
|
||||
<FORM NAME="form4" ACTION="signup.php" METHOD=post>
|
||||
<INPUT type="submit" NAME="Submit" VALUE="<? print_string("startsignup") ?>">
|
||||
</FORM>
|
||||
</CENTER>
|
||||
<? switch ($CFG->auth) {
|
||||
case "email": ?>
|
||||
<P><? print_string("loginsteps", "", "signup.php") ?></P>
|
||||
</FONT>
|
||||
<CENTER>
|
||||
<FORM NAME="form4" ACTION="signup.php" METHOD=post>
|
||||
<INPUT type="submit" NAME="Submit" VALUE="<? print_string("startsignup") ?>">
|
||||
</FORM>
|
||||
</CENTER>
|
||||
<? break;
|
||||
case "none": ?>
|
||||
<P><? print_string("loginstepsnone") ?></P>
|
||||
<? break;
|
||||
default:
|
||||
echo "ERROR: I don't know about the current authentication!";
|
||||
}
|
||||
?>
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
Loading…
x
Reference in New Issue
Block a user