mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-14821 "Quiz: report overview page is not XHTML compliant" gave the fieldsets in the form different names to avoid html id attribute conflict.
This commit is contained in:
parent
fbcd080be9
commit
134cf8ae00
@ -6,7 +6,7 @@ class mod_quiz_report_overview_settings extends moodleform {
|
||||
global $COURSE;
|
||||
$mform =& $this->_form;
|
||||
//-------------------------------------------------------------------------------
|
||||
$mform->addElement('header', 'general', get_string('preferencespage', 'quiz_overview'));
|
||||
$mform->addElement('header', 'preferencespage', get_string('preferencespage', 'quiz_overview'));
|
||||
|
||||
$options = array();
|
||||
$options[QUIZ_REPORT_ATTEMPTS_ALL] = get_string('optallattempts','quiz_overview');
|
||||
@ -22,7 +22,7 @@ class mod_quiz_report_overview_settings extends moodleform {
|
||||
$mform->addElement('advcheckbox', 'qmfilter', get_string('show', 'quiz_overview'), get_string('optonlygradedattempts', 'quiz_overview', $gm), null, array(0,1));
|
||||
}
|
||||
//-------------------------------------------------------------------------------
|
||||
$mform->addElement('header', 'general', get_string('preferencesuser', 'quiz_overview'));
|
||||
$mform->addElement('header', 'preferencesuser', get_string('preferencesuser', 'quiz_overview'));
|
||||
|
||||
$mform->addElement('text', 'pagesize', get_string('pagesize', 'quiz_overview'));
|
||||
$mform->setType('pagesize', PARAM_INT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user