]> git.mjollnir.org Git - moodle.git/commitdiff
adding some form headers to help read
authortoyomoyo <toyomoyo>
Fri, 1 Jun 2007 02:44:34 +0000 (02:44 +0000)
committertoyomoyo <toyomoyo>
Fri, 1 Jun 2007 02:44:34 +0000 (02:44 +0000)
grade/export/grade_export_form.php
grade/export/txt/grade_export_txt_form.php

index 291d1851a73c7647f60b2835d4c2314708cba67b..7e86fae45a31a3ffae43df1f707030211518fa2e 100755 (executable)
@@ -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)) {
index 31123cf25f08efacc82fdd3e9866a4a9ca3fa4f8..fba7b486b2341f9af98e2a3e7b196084653ef456 100755 (executable)
@@ -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)) {