mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
MDL-66768 forumreport_summary: move back bulk action menu to the bottom
This commit is contained in:
parent
850ce97425
commit
a90b8056ba
1 changed files with 5 additions and 8 deletions
|
@ -75,9 +75,6 @@ $PAGE->set_title($forumname);
|
||||||
$PAGE->set_heading($course->fullname);
|
$PAGE->set_heading($course->fullname);
|
||||||
$PAGE->navbar->add(get_string('nodetitle', "forumreport_summary"));
|
$PAGE->navbar->add(get_string('nodetitle', "forumreport_summary"));
|
||||||
|
|
||||||
// Render the report filters form.
|
|
||||||
$renderer = $PAGE->get_renderer('forumreport_summary');
|
|
||||||
|
|
||||||
// Prepare and display the report.
|
// Prepare and display the report.
|
||||||
$bulkoperations = !empty($CFG->messaging) && has_capability('moodle/course:bulkmessaging', $context);
|
$bulkoperations = !empty($CFG->messaging) && has_capability('moodle/course:bulkmessaging', $context);
|
||||||
|
|
||||||
|
@ -94,16 +91,16 @@ if ($download) {
|
||||||
\core\notification::info(get_string('viewsdisclaimer', 'forumreport_summary'));
|
\core\notification::info(get_string('viewsdisclaimer', 'forumreport_summary'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Render the report filters form.
|
||||||
|
$renderer = $PAGE->get_renderer('forumreport_summary');
|
||||||
|
|
||||||
|
echo $renderer->render_filters_form($cm, $url, $filters);
|
||||||
|
$table->show_download_buttons_at(array(TABLE_P_BOTTOM));
|
||||||
|
echo $renderer->render_summary_table($table, $perpage);
|
||||||
|
|
||||||
if ($bulkoperations) {
|
if ($bulkoperations) {
|
||||||
echo $renderer->render_bulk_action_menu();
|
echo $renderer->render_bulk_action_menu();
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $renderer->render_filters_form($cm, $url, $filters);
|
|
||||||
$table->show_download_buttons_at(array(TABLE_P_BOTTOM));
|
|
||||||
echo $renderer->render_summary_table($table, $perpage);
|
|
||||||
$table->download_buttons();
|
|
||||||
|
|
||||||
echo $OUTPUT->footer();
|
echo $OUTPUT->footer();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue