dirroot . '/mod/quiz/locallib.php'); if (!isset($form->timeopen)) { $form->timeopen = ""; } if (!isset($form->timeclose)) { $form->timeclose = ""; } if (!isset($form->attempts)) { $form->attempts = $CFG->quiz_attempts; } if (!isset($form->attemptonlast)) { $form->attemptonlast = $CFG->quiz_attemptonlast; } if (!isset($form->grademethod)) { $form->grademethod = $CFG->quiz_grademethod; } if (!isset($form->decimalpoints)) { $form->decimalpoints = $CFG->quiz_decimalpoints; } if (!isset($form->review)) { $form->review = $CFG->quiz_review; } if (!isset($form->questionsperpage)) { $form->questionsperpage = $CFG->quiz_questionsperpage; } if (!isset($form->shufflequestions)) { $form->shufflequestions = $CFG->quiz_shufflequestions; } if (!isset($form->shuffleanswers)) { $form->shuffleanswers = $CFG->quiz_shuffleanswers; } if (!isset($form->grade)) { $form->grade = $CFG->quiz_maximumgrade; } if (!isset($form->questions)) { $form->questions = ""; } if (!isset($form->password)) { $form->quizpassword = $CFG->quiz_password; } if (!isset($form->subnet)) { $form->subnet = $CFG->quiz_subnet; } if (!isset($form->timelimit)) { $form->timelimit = $CFG->quiz_timelimit; } if (!isset($form->popup)) { $form->popup = $CFG->quiz_popup; } if (!isset($form->optionflags)) { $form->optionflags = $CFG->quiz_optionflags; } if (!isset($form->penaltyscheme)) { $form->penaltyscheme = $CFG->quiz_penaltyscheme; } if (!isset($form->maximumgrade)) { $form->maximumgrade = $CFG->quiz_maximumgrade; } //enforced delay attempt between quiz if (!isset($form->delay1)) { $form->delay1 = $CFG->quiz_delay1; } if (!isset($form->delay2)) { $form->delay2 = $CFG->quiz_delay2; } //enforced time delay between quiz attempts add-on $timedelayoptions = array(); $timedelayoptions[0] = get_string('none'); $timedelayoptions[1800] = get_string('numminutes', '', 30); $timedelayoptions[3600] = get_string('numminutes', '', 60); for($i=2; $i<=23; $i++) { $seconds = $i*3600; $timedelayoptions[$seconds] = get_string('numhours', '', $i); } $timedelayoptions[86400] = get_string('numhours', '', 24); for($i=2; $i<=7; $i++) { $seconds = $i*86400; $timedelayoptions[$seconds] = get_string('numdays', '', $i); } ?>
dirroot . '/mod/quiz/reviewoptions.html'); ?>
 
: timelimit) echo 'checked="checked"' ?> /> quiz_fix_timelimit ? 'checked="checked"' : ''; ?> />
: questionsperpage, ''); helpbutton('questionsperpage', get_string('questionsperpage', 'quiz'), 'quiz'); ?> quiz_fix_questionsperpage ? 'checked="checked"' : ''; ?> />
: shufflequestions, "", "", ""); helpbutton("shufflequestions", get_string("shufflequestions","quiz"), "quiz"); ?> quiz_fix_shufflequestions ? 'checked="checked"' : ''; ?> />
: shuffleanswers, "", "", ""); helpbutton("shufflewithin", get_string("shufflewithin","quiz"), "quiz"); ?> quiz_fix_shuffleanswers ? 'checked="checked"' : ''; ?> />
: attempts, "", "", ""); helpbutton("attempts", get_string("attemptsallowed","quiz"), "quiz"); ?> quiz_fix_attempts ? 'checked="checked"' : ''; ?> />
: attemptonlast, "", "", ""); helpbutton("repeatattempts", get_string("eachattemptbuildsonthelast", "quiz"), "quiz"); ?> quiz_fix_attemptonlast ? 'checked="checked"' : ''; ?> />
: grademethod, "", "", ""); helpbutton("grademethod", get_string("grademethod","quiz"), "quiz"); ?> quiz_fix_grademethod ? 'checked="checked"' : ''; ?> />
: quiz_optionflags & QUESTION_ADAPTIVE) ? 1 : 0, ""); helpbutton("adaptive", get_string("adaptive","quiz"), "quiz"); ?> quiz_fix_adaptive ? 'checked="checked"' : ''; ?> />
: penaltyscheme", ""); helpbutton("penaltyscheme", get_string("penaltyscheme","quiz"), "quiz"); ?> quiz_fix_penaltyscheme ? 'checked="checked"' : ''; ?> />
: decimalpoints, "", "", ""); helpbutton("decimalpoints", get_string("decimaldigits","quiz"), "quiz"); ?> quiz_fix_decimalpoints ? 'checked="checked"' : ''; ?> />
quiz_fix_review ? 'checked="checked"' : ''; ?> />
: get_string('none', 'quiz'), 1 => get_string('popupwithjavascriptsupport', 'quiz')); if ($CFG->enablesafebrowserintegration) { $browseroptions[2] = get_string('requiresafeexambrowser', 'quiz'); } choose_from_menu ($browseroptions, 'popup', $form->popup, '', '', ''); helpbutton('browsersecurity', get_string('browsersecurity', 'quiz'), 'quiz'); ?> quiz_fix_popup ? 'checked="checked"' : ''; ?> />
: delay1, "", "", "" ); helpbutton('timedelay1', get_string('delay1','quiz'), 'quiz'); ?> quiz_fix_delay1 ? 'checked="checked"' : ''; ?> />
: delay2, "", "", ""); helpbutton('timedelay2', get_string('delay2','quiz'), 'quiz'); ?> quiz_fix_delay2 ? 'checked="checked"' : ''; ?> />
: quiz_fix_password ? 'checked="checked"' : ''; ?> />
: quiz_fix_subnet ? 'checked="checked"' : ''; ?> />
: =1; $i--) { $grades[$i] = $i; } $grades[0] = get_string("nograde"); choose_from_menu ($grades, "maximumgrade", $form->maximumgrade, "", "", ""); helpbutton("maxgrade", get_string("maximumgrade"), "quiz"); ?>
" />