mirror of
https://github.com/moodle/moodle.git
synced 2025-03-08 17:59:55 +01:00
When setting up a new quiz the teacher is always redirected to the question edit page so there is no need for two buttons on mod.html
This commit is contained in:
parent
9f9cff594c
commit
c1edf51947
@ -554,8 +554,10 @@
|
||||
<input type="hidden" name="mode" value="<?php p($form->mode) ?>" />
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>" />
|
||||
<!-- provide an additional button to edit questions -->
|
||||
<?php if ($form->instance) { ?>
|
||||
<input type="hidden" name="redirecturl" value="<?php p("$CFG->wwwroot/mod/quiz/edit.php?quizid=$form->instance") ?>" />
|
||||
<input type="submit" name="redirect" value="<?php print_string('saveandedit', 'quiz') ?>" />
|
||||
<?php } ?>
|
||||
<input type="submit" name="cancel" value="<?php print_string("cancel") ?>" />
|
||||
</center>
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user