mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 23:20:09 +01:00
MDL-79863 qtype_ordering: qtype_ordering set default layout to VERTICAL when importing from GIFT or XML file
This commit is contained in:
parent
320a7f19d3
commit
ff17a02bb7
@ -669,7 +669,7 @@ class qtype_ordering extends question_type {
|
||||
public function set_layout_select_count_grading(&$question, $layout, $select, $count, $grading) {
|
||||
|
||||
// set default values
|
||||
$layouttype = qtype_ordering_question::LAYOUT_HORIZONTAL;
|
||||
$layouttype = qtype_ordering_question::LAYOUT_VERTICAL;
|
||||
$selecttype = qtype_ordering_question::SELECT_RANDOM;
|
||||
$selectcount = 3;
|
||||
$gradingtype = qtype_ordering_question::GRADING_RELATIVE_NEXT_EXCLUDE_LAST;
|
||||
|
@ -31,5 +31,5 @@ $plugin->cron = 0;
|
||||
$plugin->component = 'qtype_ordering';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
$plugin->requires = 2010112400; // Moodle 2.0
|
||||
$plugin->version = 2016022444;
|
||||
$plugin->release = '2016-02-24 (44)';
|
||||
$plugin->version = 2016022445;
|
||||
$plugin->release = '2016-02-24 (45)';
|
||||
|
Loading…
x
Reference in New Issue
Block a user