From a0807a00913c0942fc9e1e529c1d76f642989186 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 28 Feb 2007 12:24:54 +0000 Subject: [PATCH] XHTML Strrrrrrict! on quiz module config page. Fix errors when config changes are saved. Merged from MOODLE_18_STABLE. --- mod/quiz/config.html | 36 +++++++++--------- mod/quiz/lib.php | 88 ++++++++++++++++++++++---------------------- 2 files changed, 62 insertions(+), 62 deletions(-) diff --git a/mod/quiz/config.html b/mod/quiz/config.html index 29f61bc4a9..d5a1019001 100644 --- a/mod/quiz/config.html +++ b/mod/quiz/config.html @@ -88,7 +88,6 @@
-
@@ -134,7 +133,7 @@ - quiz_fix_timelimit ? "checked" : "") ?> /> + quiz_fix_timelimit ? 'checked="checked"' : ''; ?> /> @@ -154,7 +153,7 @@ - quiz_fix_questionsperpage ? "checked" : "") ?> /> + quiz_fix_questionsperpage ? 'checked="checked"' : ''; ?> /> @@ -168,7 +167,7 @@ - quiz_fix_shufflequestions ? "checked" : "") ?> /> + quiz_fix_shufflequestions ? 'checked="checked"' : ''; ?> /> @@ -182,7 +181,7 @@ - quiz_fix_shuffleanswers ? "checked" : "") ?> /> + quiz_fix_shuffleanswers ? 'checked="checked"' : ''; ?> /> @@ -202,7 +201,7 @@ - quiz_fix_attempts ? "checked" : "") ?> /> + quiz_fix_attempts ? 'checked="checked"' : ''; ?> /> @@ -216,7 +215,7 @@ - quiz_fix_attemptonlast ? "checked" : "") ?> /> + quiz_fix_attemptonlast ? 'checked="checked"' : ''; ?> /> @@ -230,7 +229,7 @@ - quiz_fix_grademethod ? "checked" : "") ?> /> + quiz_fix_grademethod ? 'checked="checked"' : ''; ?> /> @@ -244,7 +243,7 @@ - quiz_fix_adaptive ? "checked" : "") ?> /> + quiz_fix_adaptive ? 'checked="checked"' : ''; ?> /> @@ -258,7 +257,7 @@ - quiz_fix_penaltyscheme ? "checked" : "") ?> /> + quiz_fix_penaltyscheme ? 'checked="checked"' : ''; ?> /> @@ -277,7 +276,7 @@ - quiz_fix_decimalpoints ? "checked" : "") ?> /> + quiz_fix_decimalpoints ? 'checked="checked"' : ''; ?> /> @@ -286,7 +285,7 @@ dirroot . '/mod/quiz/reviewoptions.html'); ?> - quiz_fix_review ? "checked" : "") ?> /> + quiz_fix_review ? 'checked="checked"' : ''; ?> /> @@ -300,7 +299,7 @@ - quiz_fix_popup ? "checked" : "") ?> /> + quiz_fix_popup ? 'checked="checked"' : ''; ?> /> @@ -314,7 +313,7 @@ - quiz_fix_delay1 ? "checked" : "") ?> /> + quiz_fix_delay1 ? 'checked="checked"' : ''; ?> /> @@ -328,7 +327,7 @@ - quiz_fix_delay2 ? "checked" : "") ?> /> + quiz_fix_delay2 ? 'checked="checked"' : ''; ?> /> @@ -340,7 +339,7 @@ - quiz_fix_password ? "checked" : "") ?> /> + quiz_fix_password ? 'checked="checked"' : ''; ?> /> @@ -352,7 +351,7 @@ - quiz_fix_subnet ? "checked" : "") ?> /> + quiz_fix_subnet ? 'checked="checked"' : ''; ?> /> @@ -373,7 +372,7 @@ @@ -387,7 +386,6 @@ -