Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-34565_accessibility' of git://github.com/rwijaya/mo…

…odle
  • Loading branch information...
commit 01ac783fb8244b462d3d3c8bac681821689bd2b0 2 parents e4945f5 + 38befbe
Aparup Banerjee nebgor authored

Showing 1 changed file with 2 additions and 12 deletions. Show diff stats Hide diff stats

  1. +2 12 mod/forum/search.php
14 mod/forum/search.php
@@ -343,15 +343,10 @@ function forum_print_big_search_form($course) {
343 343 }
344 344
345 345 echo '<input name="timefromrestrict" type="checkbox" value="1" alt="'.get_string('searchdatefrom', 'forum').'" onclick="return lockoptions(\'searchform\', \'timefromrestrict\', timefromitems)" '. $datefromchecked . ' /> ';
346   - $selectors = html_writer::label(get_string('days'), 'menufromday', false, array('class' => 'accesshide'))
347   - . html_writer::select_time('days', 'fromday', $datefrom)
348   - . html_writer::label(get_string('months'), 'menufrommonth', false, array('class' => 'accesshide'))
  346 + $selectors = html_writer::select_time('days', 'fromday', $datefrom)
349 347 . html_writer::select_time('months', 'frommonth', $datefrom)
350   - . html_writer::label(get_string('years'), 'menufromyear', false, array('class' => 'accesshide'))
351 348 . html_writer::select_time('years', 'fromyear', $datefrom)
352   - . html_writer::label(get_string('hours'), 'menufromhour', false, array('class' => 'accesshide'))
353 349 . html_writer::select_time('hours', 'fromhour', $datefrom)
354   - . html_writer::label(get_string('minutes'), 'menufromminute', false, array('class' => 'accesshide'))
355 350 . html_writer::select_time('minutes', 'fromminute', $datefrom);
356 351 echo $selectors;
357 352 echo '<input type="hidden" name="hfromday" value="0" />';
@@ -374,15 +369,10 @@ function forum_print_big_search_form($course) {
374 369 }
375 370
376 371 echo '<input name="timetorestrict" type="checkbox" value="1" alt="'.get_string('searchdateto', 'forum').'" onclick="return lockoptions(\'searchform\', \'timetorestrict\', timetoitems)" ' .$datetochecked. ' /> ';
377   - $selectors = html_writer::label(get_string('days'), 'menutoday', false, array('class' => 'accesshide'))
378   - . html_writer::select_time('days', 'today', $dateto)
379   - . html_writer::label(get_string('months'), 'menutomonth', false, array('class' => 'accesshide'))
  372 + $selectors = html_writer::select_time('days', 'today', $dateto)
380 373 . html_writer::select_time('months', 'tomonth', $dateto)
381   - . html_writer::label(get_string('years'), 'menutoyear', false, array('class' => 'accesshide'))
382 374 . html_writer::select_time('years', 'toyear', $dateto)
383   - . html_writer::label(get_string('hours'), 'menutohour', false, array('class' => 'accesshide'))
384 375 . html_writer::select_time('hours', 'tohour', $dateto)
385   - . html_writer::label(get_string('minutes'), 'menutominute', false, array('class' => 'accesshide'))
386 376 . html_writer::select_time('minutes', 'tominute', $dateto);
387 377 echo $selectors;
388 378

0 comments on commit 01ac783

Please sign in to comment.
Something went wrong with that request. Please try again.