MDL-10984 Adding publishing switch to txt and ods export formats

This commit is contained in:
nicolasconnault 2007-08-30 07:44:42 +00:00
parent f57bdb559d
commit 74af2ea5ef
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ $navigation = grade_build_nav(__FILE__, $actionstr, array('courseid' => $course-
print_header($course->shortname.': '.get_string('grades'), $course->fullname, $navigation);
print_grade_plugin_selector($id, 'export', 'ods');
$mform = new grade_export_form();
$mform = new grade_export_form(null, array('publishing' => true));
// process post information
if ($data = $mform->get_data()) {

View File

@ -48,7 +48,7 @@ $navigation = grade_build_nav(__FILE__, $actionstr, array('courseid' => $course-
print_header($course->shortname.': '.get_string('grades'), $course->fullname, $navigation);
print_grade_plugin_selector($id, 'export', 'txt');
$mform = new grade_export_form(null, array('includeseparator'=>true));
$mform = new grade_export_form(null, array('includeseparator'=>true, 'publishing' => true));
// process post information
if ($data = $mform->get_data()) {