mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-34293 Themes: Added thead to flexible table
This commit is contained in:
parent
c92d6f417c
commit
289320528c
1 changed files with 2 additions and 0 deletions
|
@ -1051,6 +1051,7 @@ class flexible_table {
|
||||||
function print_headers() {
|
function print_headers() {
|
||||||
global $CFG, $OUTPUT;
|
global $CFG, $OUTPUT;
|
||||||
|
|
||||||
|
echo html_writer::start_tag('thead');
|
||||||
echo html_writer::start_tag('tr');
|
echo html_writer::start_tag('tr');
|
||||||
foreach ($this->columns as $column => $index) {
|
foreach ($this->columns as $column => $index) {
|
||||||
|
|
||||||
|
@ -1121,6 +1122,7 @@ class flexible_table {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo html_writer::end_tag('tr');
|
echo html_writer::end_tag('tr');
|
||||||
|
echo html_writer::end_tag('thead');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue