MDL-8849 use proper value quoting; merged from MOODLE_18_STABLE

This commit is contained in:
skodak 2007-03-11 19:59:54 +00:00
parent 26f329ba61
commit 702cf10b01

View File

@ -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>';