mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-34555 accessibility compliance for calendar: Add forform input text and select tag
This commit is contained in:
parent
5b711b3e99
commit
5c57655218
2 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue