MDL-41615 quiz_mod: fix heading levels for usability and accessibility

This commit is contained in:
rwijaya 2013-11-05 18:52:24 +08:00
parent d214057cad
commit c544ee92f5
23 changed files with 86 additions and 32 deletions

View file

@ -48,6 +48,7 @@ $PAGE->set_url($quizobj->view_url());
// Check login and sesskey.
require_login($quizobj->get_course(), false, $quizobj->get_cm());
require_sesskey();
$PAGE->set_heading($quizobj->get_course()->fullname);
// If no questions have been set up yet redirect to edit.php or display an error.
if (!$quizobj->has_questions()) {