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";
</FONT> </TD>\r
<TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellheading?>">\r
<FONT SIZE=2>\r
- <P><? print_string("loginsteps", "", "signup.php") ?></P>\r
- </FONT>\r
- <CENTER>\r
- <FORM NAME="form4" ACTION="signup.php" METHOD=post>\r
- <INPUT type="submit" NAME="Submit" VALUE="<? print_string("startsignup") ?>">\r
- </FORM>\r
- </CENTER>\r
+ <? switch ($CFG->auth) {\r
+ case "email": ?>\r
+ <P><? print_string("loginsteps", "", "signup.php") ?></P>\r
+ </FONT>\r
+ <CENTER>\r
+ <FORM NAME="form4" ACTION="signup.php" METHOD=post>\r
+ <INPUT type="submit" NAME="Submit" VALUE="<? print_string("startsignup") ?>">\r
+ </FORM>\r
+ </CENTER>\r
+ <? break;\r
+ case "none": ?>\r
+ <P><? print_string("loginstepsnone") ?></P>\r
+ <? break;\r
+ default:\r
+ echo "ERROR: I don't know about the current authentication!";\r
+ }\r
+ ?>\r
+\r
</TD>\r
</TR>\r
</TABLE>\r