From: nfreear Date: Fri, 1 Dec 2006 15:27:05 +0000 (+0000) Subject: Fixes MDL-7244 "Missing accessibility label on login block input forms". (Previous... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9dd68bc79b2a29e45b321d32dbc16360561e704a;p=moodle.git Fixes MDL-7244 "Missing accessibility label on login block input forms". (Previous commit of block_login.php was a mistake.) --- 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