From 8f1cba2858e39ea5e92d5a83542d430976814cff Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 26 Sep 2002 07:13:14 +0000 Subject: [PATCH] The login page now shows different instructions depending on the authentication mechanism. --- lang/en/moodle.php | 4 ++++ login/index_form.html | 25 ++++++++++++++++++------- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 816dc36191a..deca426cbad 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -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. "; +$string['loginstepsnone'] = "Hi!

For full access to courses you'll need to create +yourself an account.

All you need to do is make up a username and password and use it in +the form on this page!

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"; diff --git a/login/index_form.html b/login/index_form.html index 51f2f28c8f4..e83c5a02791 100644 --- a/login/index_form.html +++ b/login/index_form.html @@ -60,13 +60,24 @@ -

- -
-
- "> -
-
+ auth) { + case "email": ?> +

+ +
+
+ "> +
+
+ +

+ +