adding some form headers to help read

This commit is contained in:
toyomoyo 2007-06-01 02:44:34 +00:00
parent b5ebd0962f
commit 83a021c10a
2 changed files with 2 additions and 0 deletions

View File

@ -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)) {

View File

@ -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)) {