mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
merged from 1.9 :: MDL-12881 :: added class names "username" and "password" for better login form handling.
This commit is contained in:
parent
40a94e4374
commit
4457871960
@ -45,10 +45,10 @@ class block_login extends block_base {
|
||||
|
||||
$this->content->text .= "\n".'<form class="loginform" id="login" method="post" action="'.$wwwroot.'/login/index.php">';
|
||||
|
||||
$this->content->text .= '<div class="c1 fld"><label for="login_username">'.get_string('username').'</label>';
|
||||
$this->content->text .= '<div class="c1 fld username"><label for="login_username">'.get_string('username').'</label>';
|
||||
$this->content->text .= '<input type="text" name="username" id="login_username" value="'.s($username).'" /></div>';
|
||||
|
||||
$this->content->text .= '<div class="c1 fld"><label for="login_password">'.get_string('password').'</label>';
|
||||
$this->content->text .= '<div class="c1 fld password"><label for="login_password">'.get_string('password').'</label>';
|
||||
$this->content->text .= '<input type="password" name="password" id="login_password" value="" /></div>';
|
||||
|
||||
$this->content->text .= '<div class="c1 btn"><input type="submit" value="'.get_string('login').'" /></div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user