Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-34293 Themes: Added tbody to flexible table

  • Loading branch information...
commit 4625404451ea6fa1123144b66d547c1c8300ad78 1 parent 2893205
Rajesh Taneja rajeshtaneja authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  lib/tablelib.php
3  lib/tablelib.php
@@ -941,6 +941,7 @@ function start_output() {
941 941 } else {
942 942 $this->start_html();
943 943 $this->print_headers();
  944 + echo html_writer::start_tag('tbody');
944 945 }
945 946 }
946 947
@@ -1004,6 +1005,7 @@ function finish_html() {
1004 1005 $this->print_nothing_to_display();
1005 1006
1006 1007 } else {
  1008 + echo html_writer::end_tag('tbody');
1007 1009 echo html_writer::end_tag('table');
1008 1010 echo html_writer::end_tag('div');
1009 1011 $this->wrap_html_finish();
@@ -1719,6 +1721,7 @@ function start_table($sheettitle) {
1719 1721
1720 1722 function output_headers($headers) {
1721 1723 $this->table->print_headers();
  1724 + echo html_writer::start_tag('tbody');
1722 1725 }
1723 1726
1724 1727 function add_data($row) {

0 comments on commit 4625404

Please sign in to comment.
Something went wrong with that request. Please try again.