mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
making default scope col for <th>
This commit is contained in:
parent
91a9559092
commit
62fb666445
1 changed files with 2 additions and 2 deletions
|
@ -3401,7 +3401,7 @@ function print_table($table, $return=false) {
|
||||||
if (!isset($align[$key])) {
|
if (!isset($align[$key])) {
|
||||||
$align[$key] = '';
|
$align[$key] = '';
|
||||||
}
|
}
|
||||||
$output .= '<th valign="top" '. $align[$key].$size[$key] .' nowrap="nowrap" class="header c'.$key.'">'. $heading .'</th>';
|
$output .= '<th valign="top" '. $align[$key].$size[$key] .' nowrap="nowrap" class="header c'.$key.'" scope="col">'. $heading .'</th>';
|
||||||
}
|
}
|
||||||
$output .= '</tr>'."\n";
|
$output .= '</tr>'."\n";
|
||||||
}
|
}
|
||||||
|
@ -3527,7 +3527,7 @@ function make_table($table) {
|
||||||
if (!isset($align[$key])) {
|
if (!isset($align[$key])) {
|
||||||
$align[$key] = '';
|
$align[$key] = '';
|
||||||
}
|
}
|
||||||
$output .= '<th valign="top" '. $align[$key].$size[$key] .' nowrap="nowrap" class="'. $table->class .'header">'.$fontsize.$heading.'</th>';
|
$output .= '<th valign="top" '. $align[$key].$size[$key] .' nowrap="nowrap" class="'. $table->class .'header" scope="col">'.$fontsize.$heading.'</th>';
|
||||||
}
|
}
|
||||||
$output .= '</tr>'."\n";
|
$output .= '</tr>'."\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue