Permalink
Browse files

Merge branch 'MDL-26431-20' of git://github.com/totara/moodle into MO…

…ODLE_20_STABLE
  • Loading branch information...
2 parents e1a2360 + c99142a commit b40a3260612a590b46671ea63fc016ff39248b7c Sam Hemelryk committed Nov 24, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 course/report/completion/index.php
@@ -323,7 +323,7 @@ function csv_quote($value) {
// Print criteria group names
print PHP_EOL.'<tr style="vertical-align: top">';
- print '<th scope="row" class="rowheader">'.get_string('criteriagroup', 'completion').'</th>';
+ print '<th scope="row" colspan="'.($idnumbers ? 2 : 1).'" class="rowheader">'.get_string('criteriagroup', 'completion').'</th>';
$current_group = false;
$col_count = 0;
@@ -357,7 +357,7 @@ function csv_quote($value) {
// Print aggregation methods
print PHP_EOL.'<tr style="vertical-align: top">';
- print '<th scope="row" class="rowheader">'.get_string('aggregationmethod', 'completion').'</th>';
+ print '<th scope="row" colspan="'.($idnumbers ? 2: 1).'" class="rowheader">'.get_string('aggregationmethod', 'completion').'</th>';
$current_group = false;
$col_count = 0;
@@ -416,7 +416,7 @@ function csv_quote($value) {
if (COMPLETION_REPORT_COL_TITLES) {
print PHP_EOL.'<tr>';
- print '<th scope="row" class="rowheader">'.get_string('criteria', 'completion').'</th>';
+ print '<th scope="row" colspan="'.($idnumbers ? 2 : 1).'" class="rowheader">'.get_string('criteria', 'completion').'</th>';
foreach ($criteria as $criterion) {
// Get criteria details

0 comments on commit b40a326

Please sign in to comment.