From: moodler Date: Sat, 14 Feb 2004 14:09:25 +0000 (+0000) Subject: Some tidying up of the HTML on the login page to make it a little X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=daf06e2c339bc29b2319218af28515063ffd5fe0;p=moodle.git Some tidying up of the HTML on the login page to make it a little more respectable (and fix some display bugs) --- diff --git a/login/index_form.html b/login/index_form.html index d9189d0dcf..d06e5a96f1 100644 --- a/login/index_form.html +++ b/login/index_form.html @@ -1,109 +1,110 @@ - +
- - - - + + + + - - - + + + - - - - + + + +
-

-
-

-
+

+
+

+
-

:
- ()
- -

-
- +
+

:
+ () +
+

+ + - - + + -
- - - - - - - - - -

:

-

:

-
-
- " /> - + + + + + + + + + +
+

:

+
+ +
+

:

+
+ +
+
+ " /> +
- - -
- guestloginbutton) { ?> -
-

:

-
-
- - - " /> -
-
- - changepassword or $CFG->auth == "email" or $CFG->auth == "none" or $CFG->auth == "manual") { - if ($CFG->auth == "email" or $CFG->auth == "none" or $CFG->auth == "manual") { +
+ + +guestloginbutton) { ?> +
+

:

+

+

+ + + " /> +
+

+ + +changepassword or is_internal_auth() ) { + if (is_internal_auth()) { $changepassword = "forgot_password.php"; $changebuttonname = get_string("senddetails"); } else { $changepassword = $CFG->changepassword; $changebuttonname = get_string("passwordrecovery"); } - - ?> -
-

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

-
-
-
- - " /> -
-
- +
+

+

+

+ +
+

+ + +
+auth) { + case "email": + echo "

".get_string("loginsteps", "", "signup.php")."

"; +?> +
+
+ " /> +
+
+".get_string("loginstepsnone")."

"; + echo "

".get_string("loginstepsnone")."

"; break; default: - echo "
"; echo format_text($CFG->auth_instructions); - echo "
"; require_once("../auth/$CFG->auth/lib.php"); - if (isset($CFG->auth_user_create) and $CFG->auth_user_create==1 and function_exists('auth_user_create') ){?> -
- - " /> + if (!empty($CFG->auth_user_create) and function_exists('auth_user_create') ){ +?> +
+ + " /> -