mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
MDL-61482 mod_assign: Clean html in offline grading CSV
This commit is contained in:
parent
9e7c397889
commit
8be71d396b
@ -1121,11 +1121,10 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
|
||||
if ($row->allowsubmissionsfromdate) {
|
||||
$userdate = userdate($row->allowsubmissionsfromdate);
|
||||
$o = $this->output->container($userdate, 'allowsubmissionsfromdate');
|
||||
$o = ($this->is_downloading()) ? $userdate : $this->output->container($userdate, 'allowsubmissionsfromdate');
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1139,11 +1138,10 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
|
||||
if ($row->duedate) {
|
||||
$userdate = userdate($row->duedate);
|
||||
$o = $this->output->container($userdate, 'duedate');
|
||||
$o = ($this->is_downloading()) ? $userdate : $this->output->container($userdate, 'duedate');
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1157,11 +1155,10 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
|
||||
if ($row->cutoffdate) {
|
||||
$userdate = userdate($row->cutoffdate);
|
||||
$o = $this->output->container($userdate, 'cutoffdate');
|
||||
$o = ($this->is_downloading()) ? $userdate : $this->output->container($userdate, 'cutoffdate');
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user