mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-10984 Adding publishing switch to txt and ods export formats
This commit is contained in:
parent
f57bdb559d
commit
74af2ea5ef
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ $navigation = grade_build_nav(__FILE__, $actionstr, array('courseid' => $course-
|
||||||
print_header($course->shortname.': '.get_string('grades'), $course->fullname, $navigation);
|
print_header($course->shortname.': '.get_string('grades'), $course->fullname, $navigation);
|
||||||
print_grade_plugin_selector($id, 'export', 'ods');
|
print_grade_plugin_selector($id, 'export', 'ods');
|
||||||
|
|
||||||
$mform = new grade_export_form();
|
$mform = new grade_export_form(null, array('publishing' => true));
|
||||||
|
|
||||||
// process post information
|
// process post information
|
||||||
if ($data = $mform->get_data()) {
|
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_header($course->shortname.': '.get_string('grades'), $course->fullname, $navigation);
|
||||||
print_grade_plugin_selector($id, 'export', 'txt');
|
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
|
// process post information
|
||||||
if ($data = $mform->get_data()) {
|
if ($data = $mform->get_data()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue