mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-38574 qtype chooser: quick fix to make it fit on-screen.
MDL-32729 will provide a better fix for this, but we may as well apply this quick fix on stable branches.
This commit is contained in:
parent
e3552170da
commit
c1db10b6d5
4 changed files with 37 additions and 4 deletions
|
@ -1843,6 +1843,7 @@ function print_choose_qtype_to_add_form($hiddenparams, array $allowedqtypes = nu
|
|||
echo "</div>\n";
|
||||
echo '<div class="qtypes">' . "\n";
|
||||
echo '<div class="instruction">' . get_string('selectaqtypefordescription', 'question') . "</div>\n";
|
||||
echo '<div class="alloptions">' . "\n";
|
||||
echo '<div class="realqtypes">' . "\n";
|
||||
$fakeqtypes = array();
|
||||
foreach (question_bank::get_creatable_qtypes() as $qtypename => $qtype) {
|
||||
|
@ -1862,6 +1863,7 @@ function print_choose_qtype_to_add_form($hiddenparams, array $allowedqtypes = nu
|
|||
}
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
echo '<div class="submitbuttons">' . "\n";
|
||||
echo '<input type="submit" value="' . get_string('next') . '" id="chooseqtype_submit" />' . "\n";
|
||||
echo '<input type="submit" id="chooseqtypecancel" name="addcancel" value="' . get_string('cancel') . '" />' . "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue