mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-10984 Adding publishing switch to txt and ods export formats
This commit is contained in:
parent
f57bdb559d
commit
74af2ea5ef
@ -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()) {
|
||||
|
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user