mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-19756 Sending prepared classes for tbody of html_class
This commit is contained in:
parent
523d30942d
commit
f2a5140264
1 changed files with 2 additions and 2 deletions
|
@ -2054,7 +2054,7 @@ class moodle_core_renderer extends moodle_renderer_base {
|
|||
$heading->text = $headingtext;
|
||||
$heading->header = true;
|
||||
}
|
||||
|
||||
|
||||
if ($heading->header !== false) {
|
||||
$heading->header = true;
|
||||
}
|
||||
|
@ -2098,7 +2098,7 @@ class moodle_core_renderer extends moodle_renderer_base {
|
|||
$oddeven = 1;
|
||||
$keys = array_keys($table->data);
|
||||
$lastrowkey = end($keys);
|
||||
$output .= $this->output_start_tag('tbody', $table->bodyclasses) . "\n";
|
||||
$output .= $this->output_start_tag('tbody', array('class' => moodle_renderer_base::prepare_classes($table->bodyclasses))) . "\n";
|
||||
|
||||
foreach ($table->data as $key => $row) {
|
||||
if (($row === 'hr') && ($countcols)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue