mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-8849 use proper value quoting; merged from MOODLE_18_STABLE
This commit is contained in:
parent
26f329ba61
commit
702cf10b01
@ -46,7 +46,7 @@ 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"><label for="login_username">'.get_string('username').'</label>: ';
|
||||
$this->content->text .= '<input type="text" name="username" id="login_username" value="'.$username.'" /></div>';
|
||||
$this->content->text .= '<input type="text" name="username" id="login_username" value="'.s($username).'" /></div>';
|
||||
|
||||
$this->content->text .= '<div class="c1"><label for="login_password">'.get_string('password').'</label>: ';
|
||||
$this->content->text .= '<input type="password" name="password" id="login_password" value="" /></div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user