Commit 302104af authored by Damyon Wiese's avatar Damyon Wiese
Browse files

Merge branch 'MDL-60920-master' of

parents 80b6f3b0 41d335f3
......@@ -43,20 +43,8 @@ $event->trigger();
// Print the header.
$strquizzes = get_string("modulenameplural", "quiz");
$streditquestions = '';
$editqcontexts = new question_edit_contexts($coursecontext);
if ($editqcontexts->have_one_edit_tab_cap('questions')) {
$streditquestions =
"<form target=\"_parent\" method=\"get\" action=\"$CFG->wwwroot/question/edit.php\">
<input type=\"hidden\" name=\"courseid\" value=\"$course->id\" />
<input type=\"submit\" value=\"".get_string("editquestions", "quiz")."\" />
echo $OUTPUT->header();
echo $OUTPUT->heading($strquizzes, 2);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment