mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
"Merged" in the fixed for MDL-8137
This commit is contained in:
parent
326e563a43
commit
ddaaceb4bb
@ -139,7 +139,7 @@
|
||||
case 'add':
|
||||
print_simple_box_start('center');
|
||||
echo '<div align="center">
|
||||
<form id="nickname" method ="post" action="'.$CFG->wwwroot.'/mod/lesson/highscores.php">
|
||||
<form id="nickname" method ="post" action="'.$CFG->wwwroot.'/mod/lesson/highscores.php" autocomplete="off">
|
||||
<input type="hidden" name="id" value="'.$cm->id.'" />
|
||||
<input type="hidden" name="mode" value="save" />
|
||||
<input type="hidden" name="sesskey" value="'.sesskey().'" />';
|
||||
|
@ -61,7 +61,7 @@
|
||||
lesson_print_header($cm, $course, $lesson);
|
||||
echo "<div class=\"password-form\">\n";
|
||||
print_simple_box_start('center');
|
||||
echo '<form id="password" method="post" action="'.$CFG->wwwroot.'/mod/lesson/view.php">' . "\n";
|
||||
echo '<form id="password" method="post" action="'.$CFG->wwwroot.'/mod/lesson/view.php" autocomplete="off">' . "\n";
|
||||
echo '<fieldset class="invisiblefieldset">';
|
||||
echo '<input type="hidden" name="id" value="'. $cm->id .'" />' . "\n";
|
||||
if (optional_param('userpassword', 0, PARAM_CLEAN)) {
|
||||
@ -524,7 +524,7 @@
|
||||
|
||||
// get the answers in a set order, the id order
|
||||
if ($answers = get_records("lesson_answers", "pageid", $page->id, "id")) {
|
||||
echo "<form id=\"answerform\" method =\"post\" action=\"lesson.php\">";
|
||||
echo "<form id=\"answerform\" method =\"post\" action=\"lesson.php\" autocomplete=\"off\">";
|
||||
echo '<fieldset class="invisiblefieldset">';
|
||||
echo "<input type=\"hidden\" name=\"id\" value=\"$cm->id\" />";
|
||||
echo "<input type=\"hidden\" name=\"action\" value=\"continue\" />";
|
||||
|
Loading…
x
Reference in New Issue
Block a user