Merge branch 'MDL-28155_master' of git://github.com/dmonllao/moodle
This commit is contained in:
@@ -1591,7 +1591,7 @@ class assignment_base {
|
||||
}
|
||||
$currentposition++;
|
||||
}
|
||||
if ($hassubmission && ($this->assignment->assignmenttype=='upload' || $this->assignment->assignmenttype=='online' || $this->assignment->assignmenttype=='uploadsingle')) { //TODO: this is an ugly hack, where is the plugin spirit? (skodak)
|
||||
if ($hassubmission && method_exists($this, 'download_submissions')) {
|
||||
echo html_writer::start_tag('div', array('class' => 'mod-assignment-download-link'));
|
||||
echo html_writer::link(new moodle_url('/mod/assignment/submissions.php', array('id' => $this->cm->id, 'download' => 'zip')), get_string('downloadall', 'assignment'));
|
||||
echo html_writer::end_tag('div');
|
||||
|
||||
Reference in New Issue
Block a user