From 9dd68bc79b2a29e45b321d32dbc16360561e704a Mon Sep 17 00:00:00 2001 From: nfreear Date: Fri, 1 Dec 2006 15:27:05 +0000 Subject: [PATCH] Fixes MDL-7244 "Missing accessibility label on login block input forms". (Previous commit of block_login.php was a mistake.) --- blocks/login/block_login.php | 7 +++---- theme/standard/styles_layout.css | 7 +++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/blocks/login/block_login.php b/blocks/login/block_login.php index 45c956089c..4c140af426 100644 --- a/blocks/login/block_login.php +++ b/blocks/login/block_login.php @@ -48,17 +48,16 @@ class block_login extends block_base { $this->content->text = ''; if (empty($USER->loggedin) or isguest()) { // Show the block -/// $this->content->text .= ''; //DONOTCOMMIT:TODO $this->content->text .= "\n".'
'; - $this->content->text .= '
: '; + $this->content->text .= '
: '; $this->content->text .= '
'; - $this->content->text .= '
: '; + $this->content->text .= '
: '; $this->content->text .= '
'; - $this->content->text .= '
'; + $this->content->text .= '
'; $this->content->text .= "\n"; diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index be5a96ba0c..c045826886 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1344,6 +1344,13 @@ body#grade-index .grades .weighted { width: 6em; } +.block_login .loginform div { + margin:0.3em 0.8em; + text-align:right; +} +.block_login .btn input { + text-align:center; +} /*** *** Message -- 2.39.5