mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merged from stable
This commit is contained in:
parent
cb998489a2
commit
fc44ee0de8
17 changed files with 307 additions and 414 deletions
|
@ -408,14 +408,13 @@ if (self.name == 'editquestion') {
|
|||
if (! $cm = get_coursemodule_from_instance("quiz", $modform->instance, $course->id)) {
|
||||
error("Course Module ID was incorrect");
|
||||
}
|
||||
notify("$strattemptsexist<br /><a href=\"report.php?mode=overview&id=$cm->id\">$strviewallanswers ($usercount $strusers)</a>");
|
||||
|
||||
echo "<center>\n";
|
||||
echo "$strattemptsexist<br /><a href=\"report.php?mode=overview&id=$cm->id\">$strviewallanswers ($usercount $strusers)</a>";
|
||||
echo "<form target=\"_parent\" method=\"get\" action=\"$CFG->wwwroot/mod/quiz/edit.php\">\n";
|
||||
echo " <input type=\"hidden\" name=\"courseid\" value=\"$course->id\" />\n";
|
||||
echo " <input type=\"submit\" value=\"".get_string("editcatquestions", "quiz")."\" />\n";
|
||||
echo "</form>";
|
||||
echo "</center>\n";
|
||||
echo "</center><br/ >\n";
|
||||
|
||||
$sumgrades = quiz_print_question_list($modform, false, $SESSION->quiz_showbreaks);
|
||||
if (!set_field('quiz', 'sumgrades', $sumgrades, 'id', $modform->instance)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue