From c632b7bb6955207c463207bbc4aec37e944c9f95 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 5 Jan 2007 00:16:19 +0000 Subject: [PATCH] MDL-7861 xhtml strict fixes for login page - fixed empty div when no error --- login/index_form.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/login/index_form.html b/login/index_form.html index 1c30b1d4df..f4abb985ba 100644 --- a/login/index_form.html +++ b/login/index_form.html @@ -22,14 +22,18 @@ if ($show_instructions) {
: usesid)) - { + if (empty($CFG->usesid)) { echo "
("; print_string("cookiesenabled"); echo ")"; helpbutton("cookies", get_string("cookiesenabled")); } - ?>
+ if (!empty($errormsg)) { + echo '
'; + formerr($errormsg); + echo '
'; + } + ?>
-- 2.39.5