dirroot . '/mod/quiz/locallib.php'); ?>
get_config_options(); if ($options) { // Temporary code if (!$table_created) { echo "\n"; echo '\n"; $table_created = true; } $typename = $type->name(); $strtype = get_string($typename, 'quiz'); echo "\n"; echo '\n"; echo "\n"; foreach ($options as $option) { if (!isset($option->name)) { continue; } echo "\n"; if (!empty($option->link)) { echo '\n"; } else { if (!isset($option->code)) { $option->code = ''; } echo '\n"; echo '\n"; if (empty($option->help)) { echo "\n"; } else { echo '\n"; } $submitbutton = 'true'; } echo "\n"; } } } if ($submitbutton) { ?>
'; print_heading(get_string('questiontypesetupoptions', 'quiz')); echo "
' . $strtype . "
' . get_string($option->name, 'quiz') . "'; print_string($option->name, 'quiz'); echo ":' . $option->code . "' . get_string($option->help, 'quiz') . "
" />
'; print_simple_box_end(); echo '
'; print_simple_box_start('center'); } ?>
 
: quiz_timelimit, get_string("minutes","quiz"), 'quiz_timelimit'); helpbutton("timelimit", get_string("quiztimer","quiz"), "quiz"); ?> quiz_fix_timelimit ? "checked" : "") ?> />
: quiz_questionsperpage, ''); helpbutton('questionsperpage', get_string('questionsperpage'), 'quiz'); ?> quiz_fix_questionsperpage ? "checked" : "") ?> />
: quiz_shufflequestions, "", "", ""); helpbutton("shufflequestions", get_string("shufflequestions","quiz"), "quiz"); ?> quiz_fix_shufflequestions ? "checked" : "") ?> />
: quiz_shuffleanswers, "", "", ""); helpbutton("attempts", get_string("attemptsallowed","quiz"), "quiz"); ?> quiz_fix_shuffleanswers ? "checked" : "") ?> />
: quiz_attempts, "", "", ""); helpbutton("attempts", get_string("attemptsallowed","quiz"), "quiz"); ?> quiz_fix_attempts ? "checked" : "") ?> />
: quiz_attemptonlast, "", "", ""); helpbutton("repeatattempts", get_string("eachattemptbuildsonthelast", "quiz"), "quiz"); ?> quiz_fix_attemptonlast ? "checked" : "") ?> />
: quiz_grademethod, "", "", ""); helpbutton("grademethod", get_string("grademethod","quiz"), "quiz"); ?> quiz_fix_grademethod ? "checked" : "") ?> />
: quiz_decimalpoints, "", "", ""); helpbutton("decimalpoints", get_string("decimalpoints","quiz"), "quiz"); ?> quiz_fix_decimalpoints ? "checked" : "") ?> />
: quiz_showfeedback, "", "", ""); helpbutton("feedback", get_string("showfeedback","quiz"), "quiz"); ?> quiz_fix_showfeedback ? "checked" : "") ?> />
: quiz_showanswer, "", "", ""); helpbutton("correctanswers", get_string("showcorrectanswer","quiz"), "quiz"); ?> quiz_fix_showanswer ? "checked" : "") ?> />
: quiz_allowreview, "", "", ""); helpbutton("review2", get_string("allowreview","quiz"), "quiz"); ?> quiz_fix_allowreview ? "checked" : "") ?> />
: =1; $i--) { $grades[$i] = $i; } $grades[0] = get_string("nograde"); choose_from_menu ($grades, "quiz_maximumgrade", $CFG->quiz_maximumgrade, "", "", ""); helpbutton("maxgrade", get_string("maximumgrade"), "quiz"); ?> quiz_fix_maximumgrade ? "checked" : "") ?> />
: quiz_popup, "", "", ""); helpbutton("popup", get_string("popup","quiz"), "quiz"); ?> quiz_fix_popup ? "checked" : "") ?> />
: quiz_fix_password ? "checked" : "") ?> />
: quiz_fix_subnet ? "checked" : "") ?> />
" />