mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-47547 quiz editing: minor fixes following MDL-47547
* Remove unnecessary skip links. * Disable shortforms for form in pop-ups. * Remove some CSS that was hurting display of the add menu.
This commit is contained in:
parent
9c054ebbe3
commit
4d1fcfdf8a
3 changed files with 1 additions and 8 deletions
|
@ -39,6 +39,7 @@ class quiz_add_random_form extends moodleform {
|
|||
protected function definition() {
|
||||
global $CFG, $DB;
|
||||
$mform =& $this->_form;
|
||||
$mform->setDisableShortforms();
|
||||
|
||||
$contexts = $this->_customdata['contexts'];
|
||||
$usablecontexts = $contexts->having_cap('moodle/question:useall');
|
||||
|
|
|
@ -292,10 +292,6 @@ $PAGE->set_pagetype('mod-quiz-edit');
|
|||
|
||||
$output = $PAGE->get_renderer('mod_quiz', 'edit');
|
||||
|
||||
$PAGE->requires->skip_link_to('questionbank',
|
||||
get_string('skipto', 'access', get_string('questionbank', 'question')));
|
||||
$PAGE->requires->skip_link_to('quizcontentsblock',
|
||||
get_string('skipto', 'access', get_string('questionsinthisquiz', 'quiz')));
|
||||
$PAGE->set_title(get_string('editingquizx', 'quiz', format_string($quiz->name)));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$node = $PAGE->settingsnav->find('mod_quiz_edit', navigation_node::TYPE_SETTING);
|
||||
|
|
|
@ -541,10 +541,6 @@ table.quizreviewsummary td.cell {
|
|||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
#page-mod-quiz-edit .add-menu {
|
||||
max-height: 20px;
|
||||
width:10em;
|
||||
}
|
||||
#page-mod-quiz-edit .slotnumber {
|
||||
background-color: #D3D3D3;
|
||||
text-align: center;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue