From 23cd73acbcda289f36b44b4c56ce9feb9c50f46a Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Mon, 9 May 2005 13:07:11 +0000 Subject: [PATCH] Show a link to edit the questions in categories if the quiz has already been attempted. --- mod/quiz/edit.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php index 5fa9bb5344d..824d5c05269 100644 --- a/mod/quiz/edit.php +++ b/mod/quiz/edit.php @@ -387,6 +387,13 @@ } notify("$strattemptsexist
id\">$strviewallanswers ($usercount $strusers)"); + echo "
\n"; + echo "
wwwroot/mod/quiz/edit.php\">\n"; + echo " id\" />\n"; + echo " \n"; + echo "
"; + echo "
\n"; + $sumgrades = quiz_print_question_list($modform, false, $SESSION->quiz_showbreaks); if (!set_field('quiz', 'sumgrades', $sumgrades, 'id', $modform->instance)) { error('Failed to set sumgrades');