Línea 4873... |
Línea 4873... |
4873 |
// If no enrolled user in a course then don't display the batch operations feature.
|
4873 |
// If no enrolled user in a course then don't display the batch operations feature.
|
4874 |
$assignform = new assign_form('gradingbatchoperationsform', $gradingbatchoperationsform);
|
4874 |
$assignform = new assign_form('gradingbatchoperationsform', $gradingbatchoperationsform);
|
4875 |
$o .= $this->get_renderer()->render($assignform);
|
4875 |
$o .= $this->get_renderer()->render($assignform);
|
4876 |
}
|
4876 |
}
|
4877 |
if ($showquickgrading && $quickgrading) {
|
4877 |
if ($showquickgrading && $quickgrading) {
|
4878 |
$table = $this->get_renderer()->render($gradingtable);
|
- |
|
4879 |
$page = optional_param('page', null, PARAM_INT);
|
4878 |
$page = optional_param('page', null, PARAM_INT);
|
- |
|
4879 |
$gradingtable = new assign_grading_table($this, $perpage, $filter, 0, true);
|
- |
|
4880 |
$quickgradingform = new mod_assign_quick_grading_form(null, $quickformparams);
|
- |
|
4881 |
$table = $this->get_renderer()->render($gradingtable);
|
4880 |
$quickformparams = array(
|
4882 |
$quickformparams = array(
|
4881 |
'cm' => $this->get_course_module()->id,
|
4883 |
'cm' => $this->get_course_module()->id,
|
4882 |
'gradingtable' => $table,
|
4884 |
'gradingtable' => $table,
|
4883 |
'sendstudentnotifications' => $this->get_instance()->sendstudentnotifications,
|
4885 |
'sendstudentnotifications' => $this->get_instance()->sendstudentnotifications,
|
4884 |
'page' => $page
|
4886 |
'page' => $page
|
4885 |
);
|
4887 |
);
|
4886 |
$gradingtable = new assign_grading_table($this, $perpage, $filter, 0, true);
|
- |
|
4887 |
$quickgradingform = new mod_assign_quick_grading_form(null, $quickformparams);
|
- |
|
Línea 4888... |
Línea 4888... |
4888 |
|
4888 |
|
4889 |
$o .= $this->get_renderer()->render(new assign_form('quickgradingform', $quickgradingform));
|
4889 |
$o .= $this->get_renderer()->render(new assign_form('quickgradingform', $quickgradingform));
|
4890 |
} else {
|
4890 |
} else {
|
4891 |
$gradingtable = new assign_grading_table($this, $perpage, $filter, 0, false);
|
4891 |
$gradingtable = new assign_grading_table($this, $perpage, $filter, 0, false);
|