From 7bc1c17fef62519a26917190211bff04b28cd585 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 4 Jan 2007 23:27:19 +0000 Subject: [PATCH] MDL-7861 xhtml strict fixes for login page --- lib/weblib.php | 2 +- login/index.php | 2 +- login/index_form.html | 50 ++++++++++++++++++++++++++----------------- 3 files changed, 32 insertions(+), 22 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index a4e026bf556..5e61aa0cb0f 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1062,7 +1062,7 @@ function popup_form($common, $options, $formid, $selected='', $nothing='choose', function formerr($error) { if (!empty($error)) { - echo ''. $error .''; + echo ''. $error .''; } } diff --git a/login/index.php b/login/index.php index 32fa626bab9..459830ab027 100644 --- a/login/index.php +++ b/login/index.php @@ -226,7 +226,7 @@ if ($authsequence[0] == 'cas' and !empty($CFG->cas_enabled)) { // TODO: if the user failed to authenticate, check if the username corresponds to a remote mnet user if ($users = get_records('user', 'username', $frm->username)) { - $errormsg .= "
If you are a Moodle Network remote user and can username\">confirm your email address here, you can be redirected to your login page.
"; + $errormsg .= "
If you are a Moodle Network remote user and can username\">confirm your email address here, you can be redirected to your login page.
"; } } } diff --git a/login/index_form.html b/login/index_form.html index afec42af64a..1c30b1d4df6 100644 --- a/login/index_form.html +++ b/login/index_form.html @@ -1,17 +1,26 @@ - + +
- - -
+ +
-

: +

+
: usesid)) { @@ -20,15 +29,15 @@ echo ")"; helpbutton("cookies", get_string("cookiesenabled")); } - ?>
-

+ ?>
+
- +
-
- + - @@ -54,8 +63,8 @@ guestloginbutton) { ?> -
-

:

+
+
:
@@ -64,24 +73,26 @@ " />
+
-
-

+
+
+
- -
+ - -
+ @@ -36,7 +45,7 @@
+ @@ -45,7 +54,7 @@
+ " /> +
- \ No newline at end of file +
\ No newline at end of file