MDL-61129 survey: Add colgroup attribute at survey question tables
This commit is contained in:
+2
-1
@@ -537,6 +537,7 @@ function survey_print_multi($question) {
|
||||
$P = "";
|
||||
}
|
||||
|
||||
echo "<colgroup colspan=\"7\"></colgroup>";
|
||||
echo "<tr class=\"smalltext\"><th scope=\"row\">$strresponses</th>";
|
||||
echo "<th scope=\"col\" class=\"hresponse\">". get_string('notyetanswered', 'survey'). "</th>";
|
||||
foreach ($options as $key => $val) {
|
||||
@@ -544,7 +545,7 @@ function survey_print_multi($question) {
|
||||
}
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr><th scope=\"col\" colspan=\"7\">$question->intro</th></tr>\n";
|
||||
echo "<tr><th scope=\"colgroup\" colspan=\"7\">$question->intro</th></tr>\n";
|
||||
|
||||
$subquestions = survey_get_subquestions($question);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user