Fixes MDL-12029 "Glossary view needs heading markup + other accessibility fixes".

This commit is contained in:
nfreear 2007-11-05 15:22:22 +00:00
parent 0760ba2c40
commit 097d705e6d
5 changed files with 28 additions and 19 deletions

View file

@ -337,10 +337,10 @@
} else {
$fullsearchchecked = '';
}
echo '<input type="checkbox" name="fullsearch" value="1" '.$fullsearchchecked.' alt="'.$strsearchindefinition.'" />';
echo '<input type="checkbox" name="fullsearch" id="fullsearch" value="1" '.$fullsearchchecked.' />';
echo '<input type="hidden" name="mode" value="search" />';
echo '<input type="hidden" name="id" value="'.$cm->id.'" />';
echo $strsearchindefinition;
echo '<label for="fullsearch">'.$strsearchindefinition.'</label>';
echo '</td></tr></table>';
echo '</form>';
@ -439,11 +439,11 @@
print_user_picture($user->id, $course->id, $user->picture);
$pivottoshow = fullname($user, has_capability('moodle/site:viewfullnames', get_context_instance(CONTEXT_COURSE, $course->id)));
} else {
echo '<td align="center">';
echo '<th >';
}
echo "<strong> $pivottoshow</strong>" ;
echo '</td></tr></table></div>';
print_heading($pivottoshow);
echo '</th></tr></table></div>';
}
}