mirror of
https://github.com/moodle/moodle.git
synced 2025-05-12 19:25:35 +02:00
Merge branch 'wip-MDL-61344' of https://github.com/ndunand/moodle
This commit is contained in:
commit
b57cd16dcf
@ -4523,11 +4523,15 @@ class assign {
|
||||
return $this->view_notices($title, $message);
|
||||
}
|
||||
|
||||
$postfix = '';
|
||||
if ($this->has_visible_attachments()) {
|
||||
$postfix = $this->render_area_files('mod_assign', ASSIGN_INTROATTACHMENT_FILEAREA, 0);
|
||||
}
|
||||
$o .= $this->get_renderer()->render(new assign_header($this->get_instance(),
|
||||
$this->get_context(),
|
||||
$this->show_intro(),
|
||||
$this->get_course_module()->id,
|
||||
$title));
|
||||
$title, '', $postfix));
|
||||
if ($userid == $USER->id) {
|
||||
// We only show this if it their submission.
|
||||
$o .= $this->plagiarism_print_disclosure();
|
||||
|
Loading…
x
Reference in New Issue
Block a user