MDL-34555 accessibility compliance for calendar: Add forform input text and select tag

This commit is contained in:
Rossiani Wijaya 2012-07-27 18:13:06 +08:00 committed by Aparup Banerjee
parent 5b711b3e99
commit 5c57655218
2 changed files with 4 additions and 1 deletions

View file

@ -1619,6 +1619,7 @@ function calendar_print_month_selector($name, $selected) {
for ($i=1; $i<=12; $i++) {
$months[$i] = userdate(gmmktime(12, 0, 0, $i, 15, 2000), '%B');
}
echo html_writer::label(get_string('months'), 'menu'. $name, false, array('class' => 'accesshide'));
echo html_writer::select($months, $name, $selected, false);
}