Línea 4859... |
Línea 4859... |
4859 |
if ($this->is_blind_marking() && has_capability('mod/assign:viewblinddetails', $this->get_context())) {
|
4859 |
if ($this->is_blind_marking() && has_capability('mod/assign:viewblinddetails', $this->get_context())) {
|
4860 |
$o .= $this->get_renderer()->notification(get_string('blindmarkingenabledwarning', 'assign'), 'notifymessage');
|
4860 |
$o .= $this->get_renderer()->notification(get_string('blindmarkingenabledwarning', 'assign'), 'notifymessage');
|
4861 |
}
|
4861 |
}
|
Línea 4862... |
Línea 4862... |
4862 |
|
4862 |
|
- |
|
4863 |
// Load and print the table of submissions.
|
- |
|
4864 |
$assignform = new assign_form(
|
- |
|
4865 |
'gradingoptionsform',
|
- |
|
4866 |
$gradingoptionsform,
|
- |
|
4867 |
'M.mod_assign.init_grading_options'
|
- |
|
4868 |
);
|
4863 |
// Load and print the table of submissions.
|
4869 |
$o .= $this->get_renderer()->render($assignform);
|
4864 |
$currentgroup = groups_get_activity_group($this->get_course_module(), true);
|
4870 |
$currentgroup = groups_get_activity_group($this->get_course_module(), true);
|
4865 |
$users = array_keys($this->list_participants($currentgroup, true));
|
4871 |
$users = array_keys($this->list_participants($currentgroup, true));
|
4866 |
if (count($users) != 0 && $this->can_grade()) {
|
4872 |
if (count($users) != 0 && $this->can_grade()) {
|
4867 |
// 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.
|
4868 |
$assignform = new assign_form('gradingbatchoperationsform', $gradingbatchoperationsform);
|
4874 |
$assignform = new assign_form('gradingbatchoperationsform', $gradingbatchoperationsform);
|
4869 |
$o .= $this->get_renderer()->render($assignform);
|
4875 |
$o .= $this->get_renderer()->render($assignform);
|
4870 |
}
|
- |
|
4871 |
$assignform = new assign_form(
|
- |
|
4872 |
'gradingoptionsform',
|
- |
|
4873 |
$gradingoptionsform,
|
- |
|
4874 |
'M.mod_assign.init_grading_options'
|
- |
|
4875 |
);
|
- |
|
4876 |
$o .= $this->get_renderer()->render($assignform);
|
4876 |
}
|
4877 |
if ($showquickgrading && $quickgrading) {
|
4877 |
if ($showquickgrading && $quickgrading) {
|
4878 |
$table = $this->get_renderer()->render($gradingtable);
|
4878 |
$table = $this->get_renderer()->render($gradingtable);
|
4879 |
$page = optional_param('page', null, PARAM_INT);
|
4879 |
$page = optional_param('page', null, PARAM_INT);
|
4880 |
$quickformparams = array(
|
4880 |
$quickformparams = array(
|