Permalink
Browse files

MDL-20938 fixed colspans - credit goes to Martin Schuhmann and Patric…

…k Pollet
  • Loading branch information...
1 parent 79c4ecf commit 5ed143ccb73078c05b948f8de9c7c6e1fa063ce4 @skodak skodak committed Nov 25, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 grade/report/grader/lib.php
@@ -1256,9 +1256,9 @@ function get_rangehtml() {
$fixedstudents = $this->is_fixed_students();
if (!$fixedstudents) {
- $colspan='';
+ $colspan='colspan="2" ';
if ($this->get_pref('showuseridnumber')) {
- $colspan = 'colspan="2" ';
+ $colspan = 'colspan="3" ';
}
$rangehtml .= '<th class="header c0 range" '.$colspan.' scope="row">'.$this->get_lang_string('range','grades').'</th>';
}
@@ -1297,9 +1297,9 @@ function get_iconshtml() {
$fixedstudents = $this->is_fixed_students();
$showuseridnumber = $this->get_pref('showuseridnumber');
- $colspan = '';
+ $colspan = 'colspan="2"';
if ($showuseridnumber) {
- $colspan = 'colspan="2"';
+ $colspan = 'colspan="3"';
}
if (!$fixedstudents) {

0 comments on commit 5ed143c

Please sign in to comment.