Files
moodle/question/type/editquestionend.html
T
tjhunt 1b8a7434e2 Bug 6239 - Allow questions to have some teacher-supplied commentary.
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00

27 lines
996 B
HTML

<tr valign="top">
<td colspan="2" align="center">
<input type="submit" <?php echo $submitscript ?> value="<?php print_string('savechanges') ?>" />
<?php
if ($question->id) {
?>
<input type="submit" name="makecopy" <?php echo $submitscript ?> value="<?php print_string("makecopy", "quiz") ?>" />
<?php
}
?>
<input type="submit" name="cancel" value="<?php print_string("cancel") ?>" />
<input type="hidden" name="sesskey" value="<?php p($USER->sesskey) ?>" />
<input type="hidden" name="id" value="<?php p($question->id) ?>" />
<input type="hidden" name="qtype" value="<?php p($question->qtype) ?>" />
<?php
echo $hiddenfields;
// The following hidden field indicates that the versioning code should be turned on, i.e.,
// that old versions should be kept if necessary
?>
<input type="hidden" name="versioning" value="on" />
</td>
</tr>
</table>
</center>
</form>