mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-7861, fixing broken xhtml
This commit is contained in:
parent
9d4eb0632b
commit
83e09b629a
@ -223,9 +223,11 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r
|
||||
<img src=\"$CFG->pixpath/t/delete.gif\" border=\"0\" alt=\"$strremove\" /></a>";
|
||||
}
|
||||
echo '</td></tr></table></td>';
|
||||
echo '<td colspan="2"> </td></tr>';
|
||||
echo '<td colspan="2"> </td>';
|
||||
}
|
||||
$count++;
|
||||
// missing </tr> here, if loop is broken, need to close the </tr> from line 199/201
|
||||
echo "</tr>";
|
||||
continue;
|
||||
}
|
||||
$question = $questions[$qnum];
|
||||
@ -288,12 +290,14 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r
|
||||
|
||||
echo "<tr><td colspan=\"6\" align=\"right\">\n";
|
||||
print_string('total');
|
||||
echo "</td>";
|
||||
echo ": <td align=\"left\">\n";
|
||||
echo "<b>$sumgrade</b>";
|
||||
echo "</td><td> \n</td></tr>\n";
|
||||
|
||||
echo "<tr><td colspan=\"6\" align=\"right\">\n";
|
||||
print_string('maximumgrade');
|
||||
echo "</td>";
|
||||
echo ": <td align=\"left\">\n";
|
||||
echo '<input type="text" name="maxgrade" size="2" tabindex="'.($qno+1)
|
||||
.'" value="'.$quiz->grade.'" />';
|
||||
@ -303,7 +307,7 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r
|
||||
|
||||
echo '<div align="center"><input type="submit" value="'.get_string('savechanges').'" />';
|
||||
echo '<input type="hidden" name="savechanges" value="save" /></div>';
|
||||
echo '<input type="hidden" name="savequizid" value="'.$quiz->id.'" /></div>'; // ugly hack to prevent modform session "mistakes"
|
||||
echo '<input type="hidden" name="savequizid" value="'.$quiz->id.'" />'; // ugly hack to prevent modform session "mistakes"
|
||||
|
||||
print_simple_box_end();
|
||||
echo "</form>\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user