diff --git a/question/type/ordering/question.php b/question/type/ordering/question.php index 89949abe279..cd72555bbcd 100644 --- a/question/type/ordering/question.php +++ b/question/type/ordering/question.php @@ -37,7 +37,7 @@ class qtype_ordering_question extends question_graded_automatically { const SELECT_ALL = 0; /** Select random set of answers */ const SELECT_RANDOM = 1; - /** Select contignous subset of answers */ + /** Select contiguous subset of answers */ const SELECT_CONTIGUOUS = 2; /** Show answers in vertical list */ @@ -60,7 +60,7 @@ class qtype_ordering_question extends question_graded_automatically { const GRADING_RELATIVE_ALL_PREVIOUS_AND_NEXT = 4; /** @var int Only longest ordered subset is graded */ const GRADING_LONGEST_ORDERED_SUBSET = 5; - /** @var int Only longest ordered and contignous subset is graded */ + /** @var int Only longest ordered and contiguous subset is graded */ const GRADING_LONGEST_CONTIGUOUS_SUBSET = 6; /** @var int Items are graded relative to their position in the correct answer */ const GRADING_RELATIVE_TO_CORRECT = 7; diff --git a/question/type/ordering/questiontype.php b/question/type/ordering/questiontype.php index 7c0d8ad8a10..9bfe3843c00 100644 --- a/question/type/ordering/questiontype.php +++ b/question/type/ordering/questiontype.php @@ -381,6 +381,7 @@ class qtype_ordering extends question_type { 'RELATIVE_NEXT_INCLUDE_LAST|'. 'RELATIVE_ONE_PREVIOUS_AND_NEXT|'. 'RELATIVE_ALL_PREVIOUS_AND_NEXT|'. + 'RELATIVE_TO_CORRECT|'. 'RELATIVE|REL'. 'LONGEST_ORDERED_SUBSET|'. 'LONGEST_CONTIGUOUS_SUBSET)?'; diff --git a/question/type/ordering/renderer.php b/question/type/ordering/renderer.php index 3689b55ba04..d483d9e32aa 100644 --- a/question/type/ordering/renderer.php +++ b/question/type/ordering/renderer.php @@ -94,12 +94,12 @@ class qtype_ordering_renderer extends qtype_with_combined_feedback_renderer { $script = "\n"; $script .= "//cron = 0; $plugin->component = 'qtype_ordering'; $plugin->maturity = MATURITY_STABLE; $plugin->requires = 2010112400; // Moodle 2.0 -$plugin->version = 2017112265; -$plugin->release = '2017-11-22 (65)'; +$plugin->version = 2017112366; +$plugin->release = '2017-11-23 (66)';