mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
adding some form headers to help read
This commit is contained in:
parent
b5ebd0962f
commit
83a021c10a
@ -6,6 +6,7 @@ class grade_export_form extends moodleform {
|
||||
global $CFG;
|
||||
include_once($CFG->libdir.'/pear/HTML/QuickForm/advcheckbox.php');
|
||||
$mform =& $this->_form;
|
||||
$mform->addElement('header', 'general', 'Gradeitems to be included'); // TODO: localize
|
||||
$id = $this->_customdata['id']; // course id
|
||||
$mform->addElement('hidden', 'id', $id);
|
||||
if ($grade_items = grade_get_items($id)) {
|
||||
|
@ -6,6 +6,7 @@ class grade_export_txt_form extends moodleform {
|
||||
global $CFG;
|
||||
include_once($CFG->libdir.'/pear/HTML/QuickForm/advcheckbox.php');
|
||||
$mform =& $this->_form;
|
||||
$mform->addElement('header', 'general', 'Gradeitems to be included'); // TODO: localize
|
||||
$id = $this->_customdata['id']; // course id
|
||||
$mform->addElement('hidden', 'id', $id);
|
||||
if ($grade_items = grade_get_items($id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user