loginpasswordautocomplete)) { $autocomplete = 'autocomplete="off"'; } else { $autocomplete = ''; } if (empty($CFG->authloginviaemail)) { $strusername = get_string('username'); } else { $strusername = get_string('usernameemail'); } ?>

registerauth == 'email') || !empty($CFG->registerauth)) { ?>

'loginerrors')); echo html_writer::link('#', $errormsg, array('id' => 'loginerrormessage', 'class' => 'accesshide')); echo $OUTPUT->error_text($errormsg); echo html_writer::end_tag('div'); } ?>
>
/>
rememberusername) and $CFG->rememberusername == 2) { ?>
username) {echo 'checked="checked"';} ?> />
" />
help_icon('cookiesenabled'); ?>
guestloginbutton and !isguestuser()) { ?>
" />

registerauth == 'email') { if (!empty($CFG->auth_instructions)) { echo format_text($CFG->auth_instructions); } else { print_string("loginsteps", "", "signup.php"); } ?>
" />
registerauth)) { echo format_text($CFG->auth_instructions); ?>
" />
auth_instructions); } ?>